Sample code that:
- Creates a REST API
- Uses Spring
- Uses Gradle
- Uses TestNg
- 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)
Sample code that:
Example URL: http://localhost:8080/api/v1/hello (If you are seeing an XML response, check the accept header in the request)