check if the response includes certain header
Tests that the response includes header:
Content-Type
pm.test("Content-Type is application/json", function () {
    pm.response.to.have.header("Content-Type");
});
by Valeri Tandilashvili
4 years ago
Postman
postman tests
0
Pro tip: use ```triple backticks around text``` to write in code fences