Adds authentication header for the request.
Value to set to the header
Adds header for the request.
Name of the header
Value to set to the header
Adds parameter for the request.
Name of the parameter
Value to set for the parameter
Sets password to credentials within rest request.
Sets username to credentials within rest request.
If all needed data is set, performs http request.
Note that this method blocks further execution of the code.
All information on the response
If all needed data is set, performs http request.
Note that this method blocks further execution of the code.
The response as string;
Resets the values set to api.http to default values/empty values
Sets body for the request. By default it is JSON body.
Sets content type for the request. By default it is "application/json".
Sets request method type.
Sets password to proxy credentials.
Sets proxy URL
Sets username to proxy credentials.
Sets URL to which the http call will be performed
Converts string if it is in json format to JSON array.
Helper function to convert response to json if needed.
Converts string if it is in json format to JSON object.
Helper function to convert response to json if needed.
Generated using TypeDoc
Http interface provided in the plugin api