Closed shrijan00003 closed 2 weeks ago
Response will look like this now:
Status Code: 201, Status: 201 Created
Via: [1.1 vegur] Cf-Cache-Status: [DYNAMIC] Location: [https://jsonplaceholder.typicode.com/posts/101] X-Powered-By: [Express] Vary: [Origin, X-HTTP-Method-Override, Accept-Encoding] Server: [cloudflare] Content-Length: [682] Access-Control-Allow-Credentials: [true] Pragma: [no-cache] X-Ratelimit-Remaining: [998] Expires: [-1] X-Content-Type-Options: [nosniff] Cf-Ray: [8bdd5bc73c640f9d-EWR] Date: [Wed, 04 Sep 2024 10:39:56 GMT] Content-Type: [application/json; charset=utf-8] Report-To: [{"group":"heroku-nel","max_age":3600,"endpoints":[{"url":"https://nel.heroku.com/reports?ts=1725446396&sid=e11707d5-02a7-43ef-b45e-2cf4d2036f7d&s=cfxddFE0NPBcNewDUZ%2FiqXRzsCNEUdm28TQmffcRhNw%3D"}]}] X-Ratelimit-Reset: [1725446434] Cache-Control: [no-cache] Access-Control-Expose-Headers: [Location] Etag: [W/"2aa-ADixiyY6K0pD23v5KjjE0tDGa8U"] Alt-Svc: [h3=":443"; ma=86400] Reporting-Endpoints: [heroku-nel=https://nel.heroku.com/reports?ts=1725446396&sid=e11707d5-02a7-43ef-b45e-2cf4d2036f7d&s=cfxddFE0NPBcNewDUZ%2FiqXRzsCNEUdm28TQmffcRhNw%3D] Nel: [{"report_to":"heroku-nel","max_age":3600,"success_fraction":0.005,"failure_fraction":0.05,"response_headers":["Via"]}] X-Ratelimit-Limit: [1000]
{ "address": { "city": "Anytown", "street": "123 Main St" }, "age": 30, "contact": { "email": "john.doe@example.com", "phone": { "home": "123-456-7890", "work": "098-765-4321" } }, "employment": { "company": "Example Corp", "details": { "end_date": null, "projects": [ { "name": "Project Alpha", "role": "Lead Developer" }, { "name": "Project Beta", "role": "Contributor" } ], "start_date": "2020-01-15" }, "position": "Software Engineer" }, "hobbies": [ "reading", "gaming" ], "name": "John V2", "id": 101 }
Method: POST, URL: https://jsonplaceholder.typicode.com/posts
Response will look like this now:
Response For: Create Post V2
Status Code: 201, Status: 201 Created
Response Header:
Via: [1.1 vegur] Cf-Cache-Status: [DYNAMIC] Location: [https://jsonplaceholder.typicode.com/posts/101] X-Powered-By: [Express] Vary: [Origin, X-HTTP-Method-Override, Accept-Encoding] Server: [cloudflare] Content-Length: [682] Access-Control-Allow-Credentials: [true] Pragma: [no-cache] X-Ratelimit-Remaining: [998] Expires: [-1] X-Content-Type-Options: [nosniff] Cf-Ray: [8bdd5bc73c640f9d-EWR] Date: [Wed, 04 Sep 2024 10:39:56 GMT] Content-Type: [application/json; charset=utf-8] Report-To: [{"group":"heroku-nel","max_age":3600,"endpoints":[{"url":"https://nel.heroku.com/reports?ts=1725446396&sid=e11707d5-02a7-43ef-b45e-2cf4d2036f7d&s=cfxddFE0NPBcNewDUZ%2FiqXRzsCNEUdm28TQmffcRhNw%3D"}]}] X-Ratelimit-Reset: [1725446434] Cache-Control: [no-cache] Access-Control-Expose-Headers: [Location] Etag: [W/"2aa-ADixiyY6K0pD23v5KjjE0tDGa8U"] Alt-Svc: [h3=":443"; ma=86400] Reporting-Endpoints: [heroku-nel=https://nel.heroku.com/reports?ts=1725446396&sid=e11707d5-02a7-43ef-b45e-2cf4d2036f7d&s=cfxddFE0NPBcNewDUZ%2FiqXRzsCNEUdm28TQmffcRhNw%3D] Nel: [{"report_to":"heroku-nel","max_age":3600,"success_fraction":0.005,"failure_fraction":0.05,"response_headers":["Via"]}] X-Ratelimit-Limit: [1000]
Response Body:
Original Request
Method: POST, URL: https://jsonplaceholder.typicode.com/posts