> For the complete documentation index, see [llms.txt](https://docs.iotify.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iotify.io/concepts/protocol-settings/http.md).

# HTTP

![](/files/WfsCfSzVRKeFIwhmpN8a)

HTTP is very common as most of the web runs on it. The following fields could be configured in the IoTIFY HTTP client:

**Protocol:** Specify whether to use HTTP Secure or unsecured HTTP. It is always recommended to use secure HTTPS even if you don't have any security settings such as a password or preshared key.&#x20;

**Method:** HTTP Rest method to use.

**Endpoint:** The Rest API path to which you are connecting. This field is also scriptable, which means you could dynamically change the path at the run time with a templated string such as <http://httpbin.org/api/v1/\\{{state.endpoint\\}}>

**Timeout:** The timeout value after which the iteration must be marked as failed if no response is received.&#x20;

**Additional Headers:** Configure any additional REST headers here. They may be useful to pass any bearer tokens or other authentication headers. The fields in this are scriptable and could be used with templated strings such as "**Bearer {{state.token}}"**&#x20;

{% hint style="info" %}
IoTIFY also enables REST APIs usage within the device model functions. Check [here ](/additional-helpers/iotify-helpers.md#calling-http-rest-apis-rest-get-or-post-or-put-or-patch-or-delete)for more details.&#x20;
{% endhint %}
