fails API get request after authentication

Integration questions/issues
Post Reply
Posts: 3
Joined: Wed Sep 06, 2017 7:12 am

fails API get request after authentication

Post by SandraB » Wed Sep 13, 2017 9:52 am

Please help me with some simple issue that is just not working.
After a sucessful authentication, I try to make a simple API get request and I get the following error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://myPortal/api/2.0/portal. (Reason: CORS header 'Access-Control-Allow-Origin' does not match '*, *').

The request looks like this:
GET http://myPortal/api/2.0/portal
Accept application/json
Accept-Encoding gzip, deflate
[ b]Accept-Language[/b] en-GB,q=0.8,ro;q=0.6,en-US;q=0.4,en;q=0.2
Authorization myToken
Content-Type application/json
Host myPortal
Origin http://localhost:51363
Referer http://localhost:51363/Account/Login
User-Agent Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0

Thank you very much for your help!

Posts: 1821
Joined: Tue Oct 11, 2016 2:34 pm

Re: fails API get request after authentication

Post by Maxim » Fri Sep 15, 2017 2:13 pm

Hello SandraB!
It has been fixed in 9.1.0 release.

Post Reply