Skip to content

mplanchant/http4k-koin-poc

Repository files navigation

http4k-koin-poc

Run:

$ ./gradlew run

Try it out:

$ curl -X POST --location "http://localhost:8080/pets" -H "Content-Type: application/json" -d "{\"id\": 1, \"name\" : \"Colin\"}"

$ curl http://localhost:8080/pets | jq

$ curl -X POST --location "http://localhost:8080/pets" -H "Content-Type: application/json" -d "{\"id\": 2, \"name\" : \"Fido\"}"

$ curl http://localhost:8080/pets | jq

$ curl http://localhost:8080/pets/2 | jq

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages