Closed relia1 closed 6 months ago
Not sure whether this should provide an alternate way to add a new joke? I can see both sides of this one. Thoughts?
After reading this https://www.rfc-editor.org/rfc/rfc9110#PUT I am actually leaning towards having the PUT return 404 there instead.
201 for the PUT has been updated to 404. I did keep the 201 for the POST, I can remove that if wanted.
The 201 for POST is a fine idea and I meant to do it earlier.
Thanks much!
Description:
This PR add a PUT method and some additional minor tweaks to the joke API
Checklist