How to get only results block from API URL?

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:

curl https://... | jq .results
1 Like

Thank you for the reply. I’ll try it out and let you know.

1 Like

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.