Apache HttpComponents · Example Payload

Http Client Httpresponse Example

ApacheHTTP ClientJavaOpen SourceSDK

Http Client Httpresponse Example is an example object payload from Apache HttpComponents, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

statusCodereasonPhraseheadersbodycontentType

Example Payload

Raw ↑
{
  "statusCode": 200,
  "reasonPhrase": "OK",
  "headers": {
    "Content-Type": "application/json"
  },
  "body": "{\"result\": \"ok\"}",
  "contentType": "application/json"
}