HttpGetValve
Item iterator valve to GET a resource using HTTP and adding the response to the current item.
HTTP status code and message will be set in the following item properties:
- http_response_code
- http_response_message
HTTP headers are also added to the item using header name as property name.
Response is only added to item if response code is 200 (HTTP OK).
Properties
Example Configuration
{
"name": "HttpGetValve",
"enabled": "true",
"config": {
"url": "http://api.mycompany.com/users/{{item.uid}}",
"dest": "user_data",
"binary_content": "false"
}
}