Open gutobr9 opened 2 years ago
In this API case, you can only GET
data.
is there possible to set number of records to show than just 10 on the search prams
The other methods don't make sense in the context of the API. Users should not be able to do this:
POST
: Add a movie
PUT
: Change multiple fields in a movie, like year and title
PATCH
: Change 1 field, like just the genre of a movie
DELETE
: Remove a movie from OMDB
If you want to practice manipulating data through REST, you'll need to set up your own server, which could just be localhost
.
I'm studying Rest API, but I haven't seen documentation examples to do a POST, PUT, PATCH or DELETE. In general we only consume API data or would there be any so I can test the other methods?