...
Expand | ||||
---|---|---|---|---|
| ||||
The URL defines where the client can access the desired resources - for example the Patient resource.
Query String: For GET requests, the URL may also contain any necessary query parameters like the id of the patient you are searching for. When using
These URLs can be hardcoded if necessary, or built using various URL Encoding strategies. |
Expand | ||
---|---|---|
| ||
The header includes metadata requirements defined by the API to provide information about the request.
This can contain information such as:
|
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Some requests require a body where we add the resource content or additional information to be sent to the server. This can be in a few potential formatsThe HTTP formats will typically be specified by the API you’re working with and often requires the appropriate Content-Type header. Common formats include: JSON
XML
Query String format The query string can be found in the body or can be included in the URL of the request. Code Block | Form Data
Form data for data sent from a web form. Typically handled in Lua using string or table functions, storing data as name-value pairs. |