I have a rest web service which has url like below:-
http://localhost:8080/appName/context/fileuploadservice?param=X¶m2=Y
This web service is a post web service which accepts a file(excel or .csv) to be uploaded and two parameters param and param2.
How to write a client using rest template which will upload the file to this web service and also pass on the two parameters as well.
Aucun commentaire:
Enregistrer un commentaire