Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PATCH - Custom Verbs #49

Open
Collectif-Tomahawk opened this issue Mar 22, 2016 · 0 comments
Open

PATCH - Custom Verbs #49

Collectif-Tomahawk opened this issue Mar 22, 2016 · 0 comments

Comments

@Collectif-Tomahawk
Copy link

Hy,
Why it's not possible to make PATCH request like a POST or GET request ?
If you want make a PATCH request, you need to add custom verb (why ? It's an HTTP standard method) and problem is you can't have a correct url because custom verb is added to url :

client.add('foo');
client.foo.addVerb('bang', 'PATCH');

Result query:

PATCH /foo/bang/

Is it possible to remove this verb added or there another solution ?
Thanks for your work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant