How to upload image with postman ( API)

Maylay mm Posted in Beginning Developers 2 years ago

Hi everyone, Iam new here and beginner in programming..
Currently I am developing a client app with flutter and having problem uploading image .. Plz share me usage for this api .. image upload
https://www.opensource-socialnetwork.org/webservices/view/3599/change-cover-photo

Thanks

Replies
nz Maylay mm Replied 2 years ago

Thanks ..
it is solved now ..
many thanks

Indonesian Arsalan Shah Replied 2 years ago

Dear as you mentioned in email that we need to provide proof please test following CURL command it works fine for us

curl  -F "api_key_token=8d3297bbeba39aa48e16b51ee018e677bc0306c91b3dd31c99f03782522179df" -F "guid=2" -k -X POST -F 'userphoto=@/root/test.jpg' -v  https://premium.informatikon.com/api/v1.0/photos_cover_add

https://premium.informatikon.com/u/testuser
User: [email protected]
Password: [email protected]
GUID = 2

The API is valid for next 2 days will be removed. You can do same testing for your network.