After Force HTTPS Is Enabled, Why Are Parameters Missing in a POST Request When I Call an API to Request HTTP?
A 301/302 redirect is a practical way of redirecting your site from HTTP to HTTPS. If a client does not send requests, parameters will be missing, causing no response. The browser can be accessed because the browser submits parameters again after receiving a 302 status code. Therefore, after the client receives a 301/302 status code, the client needs to send a request again with target parameters carried.
If you want to open up APIs and enable force HTTPS, you are advised to set the API to https://endpoint/{url} to prevent missing parameters during 301/302 redirect when an API request is sent.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.