Authentication through URL for testing/playing with the API


I wondered if anyone could give me guidance on how I’d pass authentication through a URL.

I’m playing with the API and an app in Webmatrix. For development/testing purposes seems that easiest thing would be to get authorisation through this interface. Otherwise each time I make changes I have to install the app.

An alternative would perhaps be to have a local dev version of dhis2 running locally and just copy file changes to the local instance but this seems a bit of a faff.

I looked in the dev documentation and it suggests using basic authorisation. I’m trying the following but is not working…

Any help would be greatly appreciated. If easiest is through a local instance then so be it, no worries.



p.s. I’m using version 2.20 build