Follow

Why if you put in http://api.cloud-elements.com instead of https://api.cloud-elements.com, does it correctly perform the 301 redirect, but NOT preserve the HTTP method?

Preservation of verb (POST, PATCH, etc) through a 301 is entirely up to the client library or browser. This is not something that we control.

According to the HTTP specification of a 301, the current, and all future requests, should be retried using the new URI. The fix is easy, which is to not use the non-TLS version of the URI, and always use the secure version (https).

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments