Skip to content
Snippets Groups Projects
Verified Commit 49392675 authored by Mirio Eggmann's avatar Mirio Eggmann :zap:
Browse files

update readme

parent 95c9fa29
No related branches found
No related tags found
No related merge requests found
Pipeline #305913 failed
# Example code for Interface Representation Patterns
## Running The Application
## Running the application
```bash
cd riskmanagement-server
./gradlew bootRun
```
or import and run it in your favorite IDE.
## Example Requests
By default the server will listen to port 8080. To create a new claim run:
By default the server will listen on port 8080. To create a new claim run:
```curl http://localhost:8080/claims -H "Content-Type: application/json" -d "{\"dateOfIncident\":\"2017-02-01\", \"amount\": 2000 }"```
......@@ -17,6 +20,9 @@ or with pagination:
```curl http://localhost:8080/claims\?limit\=10\&offset\=0```
## Resources
You can also use the provided [Postman Collection](riskmanagement-server.postman_collection.json) to test the application or checkout the [OpenAPI definition](openapi.json).
When running the app you can also open the SwaggerUI under: http://localhost:8080/swagger-ui.html
This is a fork of the original repository: https://github.com/web-apis/riskmanagement-server
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment