dingo / dingo/api

Slash in url messing with request method

Open
#1,362 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
9.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

I have a route `GET /posts`. If I try doing a POST request on `/posts` it gives me 405 Method Not Allowed. **But**, if I try doing a POST request on `/posts/` (notice the slash on the end), it goes well, returning the same result as if I did a GET request. Version 1.0.x@dev

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.