mkheck / json-in-example

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Java 100.0%