All POST and DELETE requests should have the following headers:
{
"Content-Type": "application/json"
}
Remember, a .catch won’t necessarily run on a bad response (ie 4xx level status) from the server. Make sure you’re checking your response status codes and messages if something isn’t working as expected
Note