How to put object using Postman with Swift API?

asked 2014-10-02 07:57:02 -0500

MatteoB gravatar image

updated 2014-10-03 17:36:24 -0500

smaffulli gravatar image

Hi, I'm trying to use Swift API with Postman by Google. When I put a text file into the repository the file is corrupted. When I download it from Horizon the file content is:

 ------WebKitFormBoundarykaS4gmBBlz1AFxrn Content-Disposition: form-data;
 name="file"; filename="prova.txt"
 Content-Type: text/plain

 Hello
 ------WebKitFormBoundarykaS4gmBBlz1AFxrn--

but the uploaded file content is only "Hello"

edit retag flag offensive close merge delete