HTTPEndpoint
HTTPEndpoint Adapter
Access HTTP REST Endpoints from SQL Server
Want to try it in Azure?
Click here to learn more or
click here to create a new Enzo Server RTM 3.1 Azure VM now.
Want to try it in AWS?
Click here to learn more or
click here to create a new Enzo Server RTM 3.1 AWS VM now.
Configuration Settings
Name | Description | Default |
---|---|---|
Boolean _isDefault | Make this the default configuration. Defaults to true if configName is already the default. | |
String uri | The service URL to call | |
String authMode | Authentication mode selected for the call (none, apikey, basic, bearer) | none |
String keyParam | The API Key parameter name to use | |
String sendKeyAs | The method used to send the key (Form,Query,Header) | |
String apiKey | The API Key, or username:password when using authMode apiKey or basic respectivelly | |
String throwErrorIfStatusNotIn | Comma-seperated list of HTTP status codes that considered successful results; will throw error if HTTP status code not in this list. Leave blank to ignore all errors. |
Handlers
SendHttpRequest
HttpRequest |
Sends an HTTP request (POST by default) sending a string payload to an URI endpoint (webhook)
details
Arguments
SQL Callexec HttpEndpoint.SendHttpRequest '{"id": 1, "fname": "herve"}' Http Call/bsc/httpendpoint/sendhttprequest Output Columns
|
||||||||||||||||||||||||||||||||||||||||
SendHttpRequestBytes
HttpRequestBytes |
Sends an HTTP request (POST by default) sending a byte array to an URI endpoint (webhook)
details
Arguments
SQL Callexec HttpEndpoint.SendHttpRequestBytes 0x01020304 Http Call/bsc/httpendpoint/sendhttprequestbytes Output Columns
|