← Back to team overview

dhis2-devs team mailing list archive

DHIS2 based App http.post and put (403 error)

 

Hi,

I am developing a DHIS2 based app using AngularJS. The $http.get is
successful but I am getting 403 (Forbidden) with the POST and PUT when I
try to add a new item to the dataStore. Am I supposed to include
Authorization: Basic base64encode(username:password) in the header as well?
Is there an example I can follow for DHIS2 based apps?

Thanks,

Michael

Follow ups