Aller au contenu principal

HttpsOptions

This type is used to define the options for https().

PropertyTypeOptionalDefaultDescription
bodyobjectThe body (FOR POST REQUESTS)
endpointstringEndpoint to request.
headersobject{ "Content-Type": "application/json" }Headers to send.
methodstringGETMethod to use.
responseTypestringjsonResponse type.
statusCodenumberExpected status code.
timeoutnumber5000Timeout in milliseconds.