Response:
Array ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [date] => Tue, 07 Feb 2023 18:45:43 GMT [content-type] => application/json; charset=utf-8 [content-length] => 67 [x-powered-by] => Express [x-ratelimit-limit] => 1000 [x-ratelimit-remaining] => 999 [x-ratelimit-reset] => 1675795549 [vary] => Origin, X-HTTP-Method-Override, Accept-Encoding [access-control-allow-credentials] => true [cache-control] => no-cache [pragma] => no-cache [expires] => -1 [access-control-expose-headers] => Location [location] => http://jsonplaceholder.typicode.com/posts/101 [x-content-type-options] => nosniff [etag] => W/"43-ogufnppHC08Zgk1P3Dwq7ugW5V4" [via] => 1.1 vegur [cf-cache-status] => DYNAMIC [server-timing] => cf-q-config;dur=5.9999993027304e-06 [report-to] => {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=LOhBmJXcE5IzqJc5EjSaQz8tPlHcYYyZn1h65v9JDnDz%2Fmr37T1VAVWVdFExRxfqOkTkO2YzQkxgISam%2BLTRisu8lKsuuUWkuSUGeyORfjsL1bCmjrRRW%2FaQ9vPON61vcR%2F%2FUbZY%2Bedx2PJPQgyoy5PuEpPaxXGGzx0a"}],"group":"cf-nel","max_age":604800} [nel] => {"success_fraction":0,"report_to":"cf-nel","max_age":604800} [server] => cloudflare [cf-ray] => 795e48c02872bf26-WAW [alt-svc] => h3=":443"; ma=86400, h3-29=":443"; ma=86400 ) ) [body] => { "title": "abc", "body": "def", "userID": "1", "id": 101 } [response] => Array ( [code] => 201 [message] => Created ) [cookies] => Array ( ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => Requests_Response Object ( [body] => { "title": "abc", "body": "def", "userID": "1", "id": 101 } [raw] => HTTP/1.1 201 Created Date: Tue, 07 Feb 2023 18:45:43 GMT Content-Type: application/json; charset=utf-8 Content-Length: 67 Connection: close X-Powered-By: Express X-Ratelimit-Limit: 1000 X-Ratelimit-Remaining: 999 X-Ratelimit-Reset: 1675795549 Vary: Origin, X-HTTP-Method-Override, Accept-Encoding Access-Control-Allow-Credentials: true Cache-Control: no-cache Pragma: no-cache Expires: -1 Access-Control-Expose-Headers: Location Location: http://jsonplaceholder.typicode.com/posts/101 X-Content-Type-Options: nosniff Etag: W/"43-ogufnppHC08Zgk1P3Dwq7ugW5V4" Via: 1.1 vegur CF-Cache-Status: DYNAMIC Server-Timing: cf-q-config;dur=5.9999993027304e-06 Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=LOhBmJXcE5IzqJc5EjSaQz8tPlHcYYyZn1h65v9JDnDz%2Fmr37T1VAVWVdFExRxfqOkTkO2YzQkxgISam%2BLTRisu8lKsuuUWkuSUGeyORfjsL1bCmjrRRW%2FaQ9vPON61vcR%2F%2FUbZY%2Bedx2PJPQgyoy5PuEpPaxXGGzx0a"}],"group":"cf-nel","max_age":604800} NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800} Server: cloudflare CF-RAY: 795e48c02872bf26-WAW alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400 { "title": "abc", "body": "def", "userID": "1", "id": 101 } [headers] => Requests_Response_Headers Object ( [data:protected] => Array ( [date] => Array ( [0] => Tue, 07 Feb 2023 18:45:43 GMT ) [content-type] => Array ( [0] => application/json; charset=utf-8 ) [content-length] => Array ( [0] => 67 ) [x-powered-by] => Array ( [0] => Express ) [x-ratelimit-limit] => Array ( [0] => 1000 ) [x-ratelimit-remaining] => Array ( [0] => 999 ) [x-ratelimit-reset] => Array ( [0] => 1675795549 ) [vary] => Array ( [0] => Origin, X-HTTP-Method-Override, Accept-Encoding ) [access-control-allow-credentials] => Array ( [0] => true ) [cache-control] => Array ( [0] => no-cache ) [pragma] => Array ( [0] => no-cache ) [expires] => Array ( [0] => -1 ) [access-control-expose-headers] => Array ( [0] => Location ) [location] => Array ( [0] => http://jsonplaceholder.typicode.com/posts/101 ) [x-content-type-options] => Array ( [0] => nosniff ) [etag] => Array ( [0] => W/"43-ogufnppHC08Zgk1P3Dwq7ugW5V4" ) [via] => Array ( [0] => 1.1 vegur ) [cf-cache-status] => Array ( [0] => DYNAMIC ) [server-timing] => Array ( [0] => cf-q-config;dur=5.9999993027304e-06 ) [report-to] => Array ( [0] => {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=LOhBmJXcE5IzqJc5EjSaQz8tPlHcYYyZn1h65v9JDnDz%2Fmr37T1VAVWVdFExRxfqOkTkO2YzQkxgISam%2BLTRisu8lKsuuUWkuSUGeyORfjsL1bCmjrRRW%2FaQ9vPON61vcR%2F%2FUbZY%2Bedx2PJPQgyoy5PuEpPaxXGGzx0a"}],"group":"cf-nel","max_age":604800} ) [nel] => Array ( [0] => {"success_fraction":0,"report_to":"cf-nel","max_age":604800} ) [server] => Array ( [0] => cloudflare ) [cf-ray] => Array ( [0] => 795e48c02872bf26-WAW ) [alt-svc] => Array ( [0] => h3=":443"; ma=86400, h3-29=":443"; ma=86400 ) ) ) [status_code] => 201 [protocol_version] => 1.1 [success] => 1 [redirects] => 0 [url] => https://jsonplaceholder.typicode.com/posts [history] => Array ( ) [cookies] => Requests_Cookie_Jar Object ( [cookies:protected] => Array ( ) ) ) [filename:protected] => [data] => [headers] => [status] => ) )