HTTP (Hypertext Transfer Protocol) is a protocol used for transferring data over the internet. It is the foundation of the World Wide Web and facilitates communication between web browsers (clients) and web servers.
A client (e.g., Advanced ETL Processor) sends an HTTP request to a server. The server processes the request and sends back an HTTP response, which typically includes a status code, headers, and the requested content.
Specifies the location of a resource (e.g., http://example.com/index.html) .
Define the action to be performed, such as:
Carry metadata about the request or response (e.g., content type, caching directives).
Contains data being sent or received (e.g., form data in a POST request).
The Request tab defines the request parameters, body, headers, and authentication methods. It can also be used for debugging purposes.
Although it is possible to set various parameters here the parameters set on the “Parameters tab” are used during package execution. (Except Url parameter, form parameters and headers)
In an HTTP request, the body contains data that the client sends to the server. It is commonly used to:
Multipart Form Data is an encoding type used for sending form data that includes files, binary data, or text fields in an HTTP request. It is commonly used when submitting forms that contain file uploads.
URL Form-Encoded (also known as application/x-www-form-urlencoded) is a format for encoding form data in an HTTP request body. It is commonly used when submitting HTML forms or sending key-value pairs in an HTTP request.
HTTP Basic Authentication is a simple authentication method where the client provides a username and password in the request header to access protected resources.
HTTP Bearer Authentication is an authentication mechanism in which the client provides a Bearer Token as a means to authenticate and authorize access to protected resources. It is commonly used in token-based authentication systems, such as OAuth 2.0.
The Variables tab defines the variables to be updated during the action’s execution.
The Execution log tab is populated after the action is executed. Double click on the row to view the log.
Press Run (Green arrow) to submit HTTP Request
This example demonstrates downloading today sales
begin
Result:='https://www.example.com/data/sales-'+LeftString(GETSYSTEMVARIABLE('SYSTEM_DATE'),8)+'.txt';
end;
from datetime import datetime
Result.Value='https://www.example.com/data/sales-'+ datetime.now().strftime('%Y%m%d')+'.txt'
For more technologies supported by our ETL Software see Advanced ETL Processor Versions
Confused? Ask question on our ETL Forum