HTTP Request 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 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.

Path

ProphttpNode.path
Typestring
Defaultundefined

The default HTTP request path to use for all requests on this resource.

Method

ProphttpNode.method
Typestring
DefaultGET

The default HTTP request method to use for all requests on this resource.

Body

ProphttpNode.body
Typestring
Defaultundefined

The default HTTP request body content for all requests on this resource.

Body Type

ProphttpNode.bodyType
TypeMonacoInputFieldBodyTypes ('text/plain' | 'application/json')
Defaultapplication/json

The default body type to use for all requests on this resource.

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