500px-js-sdk icon indicating copy to clipboard operation
500px-js-sdk copied to clipboard

Cannot send post request to photos

Open panditgauresh opened this issue 11 years ago • 1 comments

I need to send a post request to photos but I cannot sent it. It gives me a 500 internal server error. This is the request that is being sent :- https://api.500px.com/v1/photos.jsonp?name=AnduGundu&description=Hululu&category=Hehahaha&_method=post&oauth_token=*****************************&sdk_key=****************************&callback=_500pxCallback88696228

The oauth token the sdk key everything is set perfectly. I get a response 500 error and cant go ahead with it. Could you help me with this? It works for others like posting comments or voting different people even following people but this is giving me some problems.

The API call I am making is something like this :- param = {}; param.name = 'AnduGundu'; param.description = 'Hululu'; param.category = 'Hehahaha'; _500px.api('/photos', 'post', param, function(response) { }

panditgauresh avatar Mar 29 '14 00:03 panditgauresh

Has anyone seen this issue????

panditgauresh avatar Apr 01 '14 07:04 panditgauresh