Step 0: Before you begin (with video)
-
Copy the following REST API endpoint:
[ { "id": 4, "type": "Dog", "price": 999.99, }, { "id": 5, "type": Dog", "price": 249.99 }, { "id": 6, "type": "Dog", "price": 49.97 } ] -
Paste the REST API endpoint into a browser:
REST API Endpoint with query parameters:http://petstore-demo-endpoint.execute-api.com/petstore/pets?type=Dog&page=2
The returned payload contains three pets (id #4,#5,#6) in a JSON array format. Each pet has an id, type, and price attribute.
Note:
Use the Note function to copy your parameters into a scratch pad. From here, you can copy and paste the HTTP contents into the card without switching between views.
Next steps