question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for HTTP verbs

See original GitHub issue

Hello,

I’m working on a project at work that would require to use the PATCH HTTP verb. But it seems not being possible. I have not checked for some common other verb but it can be nice to use all verbs of the spec.

https://developer.mozilla.org/fr/docs/HTTP/Méthode/PATCH https://tools.ietf.org/html/rfc5789

best regards

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
ballinettecommented, Feb 20, 2018

OK. Actually Kuzzle refuses to start because it considers that the plugin is not correctly configured, and it is a wanted behaviour. Also, the error message is quite explicit (I was wondering about that), so there is no issue with the fact that Kuzzle crashes if a plugin uses a route with an unknown verb.

So to sum up, the discussion is only about allowing plugins to use PATCH verb in their HTTP routes. I see no contraindication to that, so we will add this in a future release 😉

Thanks for your request.

0reactions
ScreamZcommented, Jan 9, 2018

Using docker stack, PM2 is restarting kuzzle everytime, because the node script is crashing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTP request methods - MDN Web Docs
Chrome Edge CONNECT Full support. ChromeYes. Toggle history Full support. Edge12. Toggle history DELETE Full support. ChromeYes. Toggle history Full support. Edge12. Toggle history GET Full...
Read more >
Using HTTP Methods for RESTful Services - REST API Tutorial
The primary or most-commonly-used HTTP verbs (or methods, as they are properly called) are POST, GET, PUT, PATCH, and DELETE. These correspond to...
Read more >
HTTP verbs - Oracle Help Center
HTTP verbs · Retrieve a single item (GET) · Retrieve a list of items (GET) · Create an item (POST) · Update an...
Read more >
9 HTTP methods and how to use them - Testfully
We do CRUD operations (Create, Read, Update, Delete) by sending HTTP requests with different HTTP methods, sometimes called HTTP verbs.
Read more >
The 5 essential HTTP methods in RESTful API development
Review these five common RESTful API HTTP methods that developers need to know. Use this guide to understand the differences and uses for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found