1. Component description
Prerequisites: None
This component sends a request to a target address using the GET or POST method and retrieves the result. This action is equivalent to making a request with the Requests package.
2. Input parameters
For more information, see the help information for each input parameter in the component panel of the application flow editor.
3. Output parameters
For more information, see the help information for each output parameter in the component panel of the application flow editor.
4. Component usage examples
4.1. Component configuration example
For
method, the valid values are GET (default) and POST.For
URL, enter the request URL. This parameter is required. Include the protocol prefix, such as http:// or https://.For
Headers, specify the HTTP request headers. Edit the expression to enter a dictionary, such as `{'Content-Type':'application/json','Authorization':'Bearer YOUR_ACCESS_TOKEN'}`.For
Body, specify the HTTP request body. Edit the expression to enter a dictionary, such as `{'key1': 'value1','key2':'value2'}`.Keep the default values for the advanced options.

4.2. Example execution result
None
5. Example flow
Setup flow
Use the HTTP Request component. Enter the input parameters and save the returned result in the v_http_response_1 dictionary.
Use the Get Value by Key component. Select v_http_response_2, enter a key, such as content, and save the content in v_dict_value_1.
Use the Record Log component. Select v_dict_value_1 and print it.

Execution result
After the flow runs successfully, the result is printed to the log panel as shown in the following figure.