The block makes the specified type of HTTP request (GET, POST, or DELETE) on the specified URL. The request can have a body or not.
Table of Contents
makeapirequest()
Function Definition: makeapirequest(request = "GET", url = "url", bodytype = "with")
- Python Library: Internet of Things (IoT)
- Library Import: iot = InternetOfThings()
- Mode: Stage Mode
Parameters
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
request | string | The type of HTTP request. | "GET", "POST", "DELETE" | "GET" |
url | string | The URL of the HTTP request. | String | "url" |
bodytype | string | The body type. | "with" or "without" | "with" |
Description
Example
There are no examples documented for this article.