Get reverse word
curl http://127.0.0.1:8080/ -X POST -d '{"word":"PALC"}'
{"reverse_word":"CLAP"}
Get release
curl http://127.0.0.1:8080/ -X GET
Get Health
curl http://127.0.0.1:8080/health -X GET
Name | Last commit | Last update |
---|---|---|
Dockerfile | ||
Gopkg.lock | ||
Gopkg.toml | ||
README.md | ||
main.go | ||
main_test.go |
Get reverse word
curl http://127.0.0.1:8080/ -X POST -d '{"word":"PALC"}'
{"reverse_word":"CLAP"}
Get release
curl http://127.0.0.1:8080/ -X GET
Get Health
curl http://127.0.0.1:8080/health -X GET