openshift-roadshow / nationalparks

Backend component to display nationalparks
Apache License 2.0
44 stars 890 forks source link

Support REST ws with or without trailing / #24

Closed blues-man closed 4 years ago

blues-man commented 4 years ago

Right now the REST endpoints don't work without a trailing / when invoking them:

http://localhost:8080/ws/healthz/
http://localhost:8080/ws/info/

We want to support the request also without that, because it is often source of errors:

http://localhost:8080/ws/healthz
http://localhost:8080/ws/info