Create a service:
curl -i -X POST http://192.168.126.153:8001/services \
--data name=svc \
--data url='http://192.168.126.153:8001'
Add a route
curl -i -X POST http://192.168.126.153:8001/services/svc/routes \
--data 'paths[]=/svc' \
--data name=svcroute
Try to access:
http://192.168.126.153:8000/svc
It will proxy to the kong admin api, you can proxy any api you want.
Before you can fully use Kong gateway, you can read