Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2089 from CHURLZ/CHURLZ-patch-http-docs
Browse files Browse the repository at this point in the history
Update systask.md
  • Loading branch information
apanicker-nflx committed Feb 23, 2021
2 parents f5534bb + 9b611aa commit e3ebae2
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions docs/docs/configuration/systask.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,35 @@ An HTTP task is used to make calls to another microservice over HTTP.
| connectionTimeOut | Integer | Connection Time Out in milliseconds. If set to 0, equivalent to infinity. Default: 100. |
| readTimeOut | Integer | Read Time Out in milliseconds. If set to 0, equivalent to infinity. Default: 150. |

**Output:**
**Output: (output.response)**

|name|type|description|
|---|---|---|
| response | Map | JSON body containing the response if one is present |
| body | Map | JSON body containing the response if one is present |
| headers | Map[String, Any] | Response Headers |
| statusCode | Integer | [Http Status Code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) |
| statusCode (in response object) | Integer | [Http Status Code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) |
| reasonPhrase | String | Http Status Code's reason phrase |


**Response**
```json
{
"response": {
"headers": {
"Content-Type": [
"application/json"
]
},
"reasonPhrase": "OK",
"body": {
"status": "success"
},
"statusCode": 200
}
}

```

**Example**

Task Input payload using vipAddress
Expand Down

0 comments on commit e3ebae2

Please sign in to comment.