Skip to main content Skip to complementary content

Creating an operation to add a movie to the catalog

Create a POST operation that allows you to add a movie to the catalog.

Procedure

  1. Click the + button to the right of the Movies section and select Operation.
  2. 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
  3. In the REQUEST section, click Add next to BODY.
  4. In the TYPE section, select Movie in the Type list.
    Screenshot of the REQUEST section.
  5. Click Add next to RESPONSES and select 2XX - Default in the Status field.
  6. Click Save.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!