Setting up an API
Auto fetch
Lets say your have a request for fetching a list of users. This request includes a query parameter: "search" which is set to the value of a similar named variable in your component. When ever that variable changes, toddle will see that the API request specification has changed and automatically re-fetch the request.
HTTP method and URL
If you are not sure what these mean we have written an article breaking down the different parts of a URL
HTTP headers
Authorization
Body
Notice that only POST, PATCH, and PUT requests can have a body