Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 622 Bytes

README.adoc

File metadata and controls

21 lines (13 loc) · 622 Bytes

JSON In Example

Maintainer

Purpose

Quick example requested to demonstrate acceptance/processing of JSON object values

How to use

  • Clone the repo

  • Run ./mvnw spring-boot:run

If using HTTPie (https://httpie.org/):

  • Open a terminal window and run http :8080 - this will test the greeting at the root endpoint

  • From the terminal, run http :8080/aircraft < src/main/resources/aircraft.json - this will feed the JSON for an Aircraft to the controller and test the /aircraft endpoint