I'm following the apigility getting started tutorial to setup a simple RPC API. My apigility dashboard is at:
http://localhost:8888/apigility/ui#//module/apiname/1
When I add a simple service called ping
that returns just a timestamp to acknowledge the request I attempt to test the service by issuing a GET request at:
This returns error 404 although it's the same format as provided in the documentation for the API endpoint. Is there another endpoint where I can test the API before deploying it?
It turns out it was a stupid error by myself. I forgot the / before the service route (in the "Route to match" option), which means that the service route should be /ping
instead of ping
. After I added the slash it works.