Re: [Dhis2-users] [Dhis2-devs] DHIS2 based App http.post and put (403 error)

2016-08-07 Thread Mark Polak
Hey Michael, Are you developing the app using CORS? If you're doing CORS requests you will need to include the header yes. If your app is running from within the dhis2 context (as in you installed it) you won't need to do so. Generally when the Authorization header is not send the API would 302

Re: [Dhis2-users] [Dhis2-devs] DHIS2 based App http.post and put (403 error)

2016-08-07 Thread Michael Mwebaze
Hi Mark, The app I am developing is running with-in a DHIS2 context. Below is the error from the console. I have also included the code fragment causing the error. [image: Inline images 1] var data = { "dashlets" : dashlets }