-1

I want to get "results" into "page:1" with json server url because my code wants just "results" data, how can I do it?

Here is my json file

{
"page": 1,
"results": [
{
"title": "Mortal Kombat"
             
}
],
"total_pages": 438,
"total_results": 8742
}

1 Answers1

0

I don't know whether it will work or not I am trying to debug by considering json typicode as anology but if page:1 is primary parameter and www.sampleUrl.com is generalized URL to get the whole result then try to hit wwww.sampleUrl.com/:pageId i.e. www.sampleUrl.com/1 here. Please let me know if it works or else I'll need json url if it's public url.

Kartik Dolas
  • 703
  • 1
  • 9
  • 24