The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Dissemination and Capacity Strengthening » Application Programming Interface (API)  » is "perpage" query param supported for data API? (API)
Re: is "perpage" query param supported for data API? [message #17752 is a reply to message #17751] Tue, 21 May 2019 18:06 Go to previous messageGo to previous message
larshelge@baosystems.com is currently offline  larshelge@baosystems.com
Messages: 3
Registered: May 2019
Member
Hi Trevor,

great, thanks for the quick reply.

The semicolon I think was an encoding issue when copy-pasting from browser; I did not have it locally.

In the second example you are right, clearly should have used ?. (Minor issue, you could argue 404 is the correct API response instead of a server side error.)

Many thanks for the explanation on REST vs queries. Appreciate it.

Lars

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Child health data in API
Next Topic: How to use API to import data to R/Stata
Goto Forum:
  


Current Time: Fri Nov 22 12:28:11 Coordinated Universal Time 2024