/SampleRestApi

Sample REST API Service

Primary LanguageJava

SampleRestApi

Sample code that:

  1. Creates a REST API
  2. Uses Spring
  3. Uses Gradle
  4. Uses TestNg
  5. Defaults to JSON

Example URL: http://localhost:8080/api/v1/hello (If you are seeing an XML response, check the accept header in the request)