Skip to content

Commit

Permalink
GET not allowed iOS troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
Beej Jorgensen committed Dec 11, 2018
1 parent 682d1f7 commit 2adea58
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,3 +369,17 @@ django_heroku.settings(locals())

del DATABASES['default']['OPTIONS']['sslmode'] # <-- Add this line
```

### iOS: GET not allowed

If you're trying to hit an endpoint and are getting

```
405 GET not allowed
```

make sure you have a trailing slash at the right end of your URL:

```
https://example.herokuapp.com/api/login/
```

0 comments on commit 2adea58

Please sign in to comment.