Hi guys! I have been trying to upload an image for the past few days, and I have already lost a lot of time so if there is anyone who could tell me proper format to POST method from iOS. I have tried both traditional URLRequest, and using Alamofire... I get code 500 all of the times. I am pretty desperate at this point...
I did, I went through all of them, thanks. But I think that the problem may be with the way i try to create a request, but I have already tried 100 different ways... I am using headers (Content-Type and Accept), and i convert my image to PNG, and set the mimetype to "image/png"
a
agartha
09/11/2017, 11:41 AM
If you can share your code on https://graph.cool/forum, we can have a look at what's going wrong...