# Out of 2 POST routes, 1 suddenly stopped working (404) on my GoDaddy hosting but not on localhost

**URL:** <https://discourse.slimframework.com/t/out-of-2-post-routes-1-suddenly-stopped-working-404-on-my-godaddy-hosting-but-not-on-localhost/1191>\
**Category:** Questions\
**Created:** [February 25, 2017, 1:46am UTC](https://discourse.slimframework.com/t/out-of-2-post-routes-1-suddenly-stopped-working-404-on-my-godaddy-hosting-but-not-on-localhost/1191 "2017-02-25T01:46:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jestech](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/jestech/32/336_2.png) [@jestech](https://discourse.slimframework.com/u/jestech)\
**Post date:** [February 25, 2017, 1:46am UTC](https://discourse.slimframework.com/t/out-of-2-post-routes-1-suddenly-stopped-working-404-on-my-godaddy-hosting-but-not-on-localhost/1191/1 "2017-02-25T01:46:16Z")

</div>

I have a multiple `GET`, `POST` and `PUT` routes declared in my **Slim v2** App and the API had been working perfectly until today. Out of 2 `POST` routes, the first one declared is returning a **404 Not Found** error. This only happens when I call the API on my GoDaddy hosting; when I test it on my localhost it works fine. This is so weird I have ran out of ideas on how to debug this problem. I am using [Postman](https://www.getpostman.com/) to execute and test the calls to both of servers, local and GoDaddy. Also, the calls to the GoDaddy hosted API are done via HTTPS. My _.htaccess_ file on both servers looks like this:

```
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L,QSA]
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

```

Any ideas will be highly appreciated! Thanks!

**Update:** Doing a couple `CURL` calls I’m seeing [this behavior](http://pastebin.com/Y6XPjd2W). Also, here’s a [fragment of the code](http://pastebin.com/aPXPkhhR).
