Hello, I only want to access the result set from the API URL. Currently, I’m getting the following output :
Screenshot
What I want is, how do I get only the result block. I’m using the following API endpoint :
https://kobo.humanitarianresponse.info/api/v2/assets/FORM_ID/data/?format=json&limit=10&start=0
Hi @paani, you can use something like jq:
jq
curl https://... | jq .results
Thank you for the reply. I’ll try it out and let you know.
Is it possible to hide my REST URL that I using via AJAX to populate page data? I don’t want others taking and consuming from my REST API, but need to use it to display content in my site.