docs.konghq.com
docs.konghq.com copied to clipboard
There might be an issue about the url "http://mockbin.org" , which cannot response me the expected data.
Where is the problem?
https://docs.konghq.com/gateway/3.0.x/get-started/services-and-routes/
What is your suggestion?
I'm not so sure but there might be an issue in
Creating services To add a new service, send a POST request to Kong Gateway’s Admin API /services route:
curl -i -s -X POST http://localhost:8001/services \
--data name=example_service \
--data url='http://mockbin.org'
After configuration with the url 'http://mockbin.org' , when I send a request like
curl -X GET http://localhost:8000/requests
I can only ger the response
{"message":"name resolution failed"}
However, if I changed the url to "http://mockbin.com" , it worked and responsed me the expected data.
Code of Conduct and Community Expectations
- [X] I agree to follow this project's Code of Conduct
- [X] I agree to abide by the Community Expectations