I have an API, that only allows for HTTPS connection. HTTP is simply rejected by the server, on which the API is deployed.
I would like to automatically test, that HTTP is not valid. My issue is, that if I send a request through Postman to the http:// endpoint, I receive “Could not get any response” - which is actually what I want.
Is there a way to treat this “response” as a success?