'POST method giving error that "Method GET not allowed"
So I'm making a POST request to an API but somehow in response I'm getting the error that 'Method GET not allowed".

This is what I see in my network tab, The first request is POST but somehow the second one is GET and I don't have GET api for /social_login. This is how I have made the API call in my action.
const apiData = {
login_type: requestData.loginType,
access_token: requestData.accessToken,
};
try {
const response = await socialLoginApi(apiData);
socialLoginApi is a POST api
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
