Functional2
DELETE https://postman-echo.com/delete
Another example of bundling several assertions within a single test, and also of bundling several tests within a try-catch code block.
RESPONSES
status: OK
{"args":{},"data":"This is expected to be sent back as part of response body.","files":{},"form":{},"headers":{"x-forwarded-proto":"https","host":"postman-echo.com","content-length":"58","accept":"*/*","accept-encoding":"gzip, deflate","cache-control":"no-cache","content-type":"text/plain","cookie":"sails.sid=s%3AG3Skk-KwKzhuN9bCFLG38XDvX_n76FY7.SnEQNLnssVB0vIWq0%2Bqn%2FoZhMdvJqAp6Toc8YMDlMhw","postman-token":"a26a6cbb-abb4-4e8b-8a1e-4ba63450afcb","user-agent":"PostmanRuntime/7.3.0","x-forwarded-port":"443"},"json":null,"url":"https://postman-echo.com/delete"}