Whenever I go to cart page or checkout page after adding products, console
always throws 400 Bad Request
. I tried reinstalling Magento and did many things but there is no luck. Estimate shipping address section keep on loading and it doesn't return anything.
Request URL: http://******.com/rest/default/V1/carts/mine/estimate-shipping-methods
The following is the Request Payload:
{address: {country_id: "US"}}
address
:
{country_id: "US"}
country_id
:
"US"
I really don't understand whats happening with this request. What is missing here? What should be the response?
It would be much appreciated if someone provides me an answer.
-Thanks
Best Answer
I was using PHP lower version(5.9.x) as it is not supported for magento latest version. I just verified the server's software(apache, mysql) versions and upgraded to the newer version. And also restarted the server. Now it works fine. Thanks for your all of your support.