api

sasa shared this question 9 years ago
Answered

Is it possible to be able to get jsonp response when calling api? If i call for json i get cros origin problem in browser.

Best Answer
photo

Unfortunately you can't call our API directly from another web page in browser, like you sad you will get cross origin error because browser security works like that. We don't support jsonp.

Replies (4)

photo
1

Unfortunately you can't call our API directly from another web page in browser, like you sad you will get cross origin error because browser security works like that. We don't support jsonp.

photo
1

So do i have any other options?

How can i access your api from anotehr web page?

photo
1

You need to have something like proxy service on your server. It's very ease to do that in php or java...

photo
1

Ok thank you for help i will do that.


Lijep pozdrav i hvala na pomoći

Leave a Comment
 
Attach a file