I am trying to fetch some data using postman from a url endpoint but it is not working.
Most of the ones I tried were working before but now showing error 404.
I tried say: https://play.dhis2.org/2.40.6/api/dataSets?fields=*
I am trying to fetch some data using postman from a url endpoint but it is not working.
Most of the ones I tried were working before but now showing error 404.
I tried say: https://play.dhis2.org/2.40.6/api/dataSets?fields=*
@jetisco4u It seems all the URLs, including DHIS 2 Demo - Sierra Leone*, are working fine. If you’re still getting a 404 error, try the following:
Credentials: Ensure you’re correct credentials
Connectivity Check: Test the endpoint /api/system/info to confirm the API is accessible.
Postman Settings: Double-check your Postman setup (e.g., headers, authorization) to ensure everything is correct.
Well I don’t know why it’s not working for me. I make sure every detail is correct in the Postman setup.
Try لوحة المعلومات*
I also had difficulty with your URL (was just given the login screen despite having basic auth inserted) however after iteration and using the (.im.)default through browser, I was able to see expected results
Sorry can you show the full url with the ‘im’
Sorry @jetisco4u not sure why its coming up in a different language–the hyperlink though should direct you
Hi @jetisco4u
Like @Matthew_Boddie mentioned, you need to use the URL that the instance is using. If you have used these requests a while ago i.e. ‘play.dhis2.org/instance’ they might have worked, but there’s a new way that the team is handling these play instances (using an instance manager), so the URL of each instance is not play.dhis2.org/instance
it’ll be play.im.dhis2.org/instance
.
Here’s how to get the correct URL:
.im.
Thanks!