REST API Resource Node

The HTTP Request Resource provides an efficient way to communicate with RESTful HTTP APIs, such as your own server's backend.

Properties

Base URL

ProphttpNode.baseURL
Typestring
Defaultundefined

The base URL for all requests on this resource.

Default Headers

ProphttpNode.headers
TypeArray<{ key: string, value: string }>
Default[ { 'key': 'Content-Type', 'value': 'application/json' } ]

The default header values to be used for all requests on this request.

Actions

Perform HTTP Request

Makes an HTTP request and returns the response body.

ParameterTypeDefault
pathstring``
bodystring``
headers(string | Array<{ key: string, value: string }>)[]
methodstringGET
bodyTypestringapplication/json