Create a POST
operation that allows you to add a movie
to the catalog.
Procedure
- Click the + button to the right of the Movies section and select Operation.
-
Configure the general information as follows:
Field Value Name Add a movie Method POST Path /movies Description Add a new movie to the catalog. Id addMovie - In the REQUEST section, click Add next to BODY.
-
In the TYPE section, select Movie in the Type list.
- Click Add next to RESPONSES and select 2XX - Default in the Status field.
- Click Save.