The configuration for an HTTP API call.

Example Usage

import { HttpEndpoint } from "syllable-sdk/models/components";

let value: HttpEndpoint = {
  url: "https://showy-tectonics.net",
  method: "post",
  argumentLocation: "form",
};

Fields

FieldTypeRequiredDescription
urlstringTRUEThe endpoint URL of the external service to call.
methodcomponents.MethodTRUEThe HTTP method to use for the service call.
argumentLocationcomponents.ArgumentLocationTRUEHow to pass the arguments to the request.