Back to FabImage Studio website
You are here: Start » Filter Reference » HTTP » Http_SendRequest_POST_JSON
Sends a POST request in JSON format to the server and receives answer.
Name | Type | Description | |
---|---|---|---|
![]() |
inUrl | String | Url of request. |
![]() |
inJsonData | String | Request JSON to send. |
![]() |
outAnswer | String? | Answer text if provided in UTF-8 encoding. |
![]() |
outResponseCode | Integer | Answer code. Typically 200 for OK. |
Description
Filter sends a POST request to the server using application/json format. Filter waits for the text sever answer.
Examples
Filter executed with parameters:
- inUrl = http://localhost/test
- inJsonData = "{'value': 5}"
Request sent to the server:
POST /test HTTP/1.1 Host: localhost User-Agent: FabImage/1.0 Accept: application/json Content-Type: application/json charset: utf-8 Content-Length: 12 {'value': 5}
Complexity Level
This filter is available on Basic Complexity Level.
Disabled in Lite Edition
This filter is disabled in Lite Edition. It is available only in full, FabImage Studio Professional version.
See Also
- Http_SendRequest_POST_Raw – Sends a POST request to the server and receives an answer.