RestTemplate client with cookies

后端 未结 7 748
谎友^
谎友^ 2020-12-08 15:08

I\'m writing a simple client in Java to allow reusable use of proprietary virus scanning software accessible through a RESTful API. To upload a file for scanning the API req

7条回答
  •  星月不相逢
    2020-12-08 15:36

    You need to use exchange method of RestTemplate of Java Spring framework.

    Read this tutorial: http://codeflex.co/java-rest-client-get-cookie/

提交回复
热议问题