Skip to content

Latest commit

 

History

History
60 lines (49 loc) · 1.55 KB

README.md

File metadata and controls

60 lines (49 loc) · 1.55 KB

Cinema Room REST Service

About

"A simple Spring REST service that will help you manage a small movie theater. It will handle HTTP requests in controllers, create services, and respond with JSON objects. Make good use of Spring and write a REST service that can show the available seats, sell and refund tickets, and display the statistics of your venue." [1]

Install and Run

User Interaction

The REST framework is used for interacting with the application.

Body of POST request

{
    "row": 1,
    "column": 1
}

Response for POST request

{
    "token": "706f1ea5-d80d-4ea4-ae13-9bb388e2e170",
    "ticket": {
        "row": 1,
        "column": 1,
        "price": 10
    }
}

Body of POST request

{
    "token": "7680083c-c8db-4647-87e8-9072e2d4811d"
}

References

  1. Cinema Room Rest Service with Java Hyperskill project