Hi Devs

Please advise. I'm migrating my web app to a remote server (previously it
was running inside webapps folder on the same server as my dhis2 instance).
I've configured my CORS whitelist correctly but i'm unable to access the
APIs successfully. I've tried two methods:

[image: Inline image 1]
Error: Response for preflight is invalid (redirect)

...and...

[image: Inline image 2]
Error: No 'Access-Control-Allow-Origin' header is present on the requested
resource. Origin is therefore not allowed access.


My CORS whitelist is loaded, i've tried specifying header "Content-Type":
'application/json' for basic authentication but end up with the same
results. Is this perhaps a known 2.20 bug? We're running build 16795

Any advice will be highly appreciated...

Kind Regards,
Greg

-- 
*Health Information Systems Program - South Africa*
*- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - - - *
Mobile  :    073 246 2992
Landline:   021 851 2216
Skype:      gregory_rowles
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to