Tag Archives: RESTful

Fill in the blanks to complete the cURL command that invokes a RESTful API to retrieve a resource in JSON format using OAuth.

Fill in the blanks to complete the cURL command that invokes a RESTful API to retrieve a resource in JSON format using OAuth. curl -X ____________ -H ” __________: application/json” -H ” _______: Bearer AbCdEf123456″ https://localhost/api/myresource A. See explanation below. Answer: Option A. Explanation:  GET Accept Authorization Reference: https://webcache.googleusercontent.com/search?q=cache:Se6d2trvMsEJ:https://blogs.cisco.com/developer/security-api-best-practices+&cd=4&hl=en&ct=clnk&gl=pk&client=firefox-b-d Show AnswerDiscussion The post Fill in the blanks to… Read More »

Which mechanism is used to consume a RESTful API design when large amounts of data are returned?

A. data sets B. scrolling C. pagination D. blobs Answer: Option C. Explanation:  Reference: https://nordicapis.com/everything-you-need-to-know-about-api-pagination/ Show AnswerDiscussion The post Which mechanism is used to consume a RESTful API design when large amounts of data are returned? appeared first on Majanto.