question

tornadosky avatar image
0 Likes"
tornadosky asked

Picture upload using Jquery

Need to upload images using jquery trading API responds with 'Access-Control-Allow-Origin.' when I'm trying to upload anything. if i bypass it setting $.ajax(dataType: "jsonp",) comes up with '2014-01-23 20:34:21 2RequestError1SeriousError00' first: is there a way to make it respond with JSON insted of xml? second: if there is no such way.... how do i bypass 'Access-Control-Allow-Origin'?
trading jquery imageupload
· 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I am having the same issue currently. The only thing I found was [this][1] but it's a different API with different access settings. Currently stuck as well. Considering passing the full file data to my server first, which can then upload it from there, but that's twice as long per picture :\ seems to be my only option. [1]: http://stackoverflow.com/questions/10692866/jquery-ajax-post-says-xxx-not-allowed-by-access-control-allow-origin
0 Likes 0 ·

1 Answer

· Write an Answer
$$anonymous$$ avatar image
0 Likes"
$$anonymous$$ Suspended answered
Hello tornadosky, Since eBay don't support JSON response in UploadSiteHostedPictures API, So I would suggest you to parse the response in XML. If you still need any assistance on this issue or create a new feature request then you can click [here][1]. Regards. [1]: http://developer.ebay.com/support/developersupport/tickets/
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.