September 2017
Intermediate to advanced
244 pages
6h 44m
English
{id:1, post_id:1, comment:"Modified Awesome Comment", link: "/comments/1"}
Here, we used PATCH as we want to update a single attribute of a comment that is a comment. Also, you can see %20 passed in a new comment. So, %20 is just a replacement for a space as a URL cannot contain spaces. So with URL encoding, spaces should always be replaced by %20.
Read now
Unlock full access