docs.konghq.com icon indicating copy to clipboard operation
docs.konghq.com copied to clipboard

There might be an issue about the url "http://mockbin.org" , which cannot response me the expected data.

Open XueliangSUI opened this issue 3 years ago • 0 comments

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

XueliangSUI avatar Oct 11 '22 07:10 XueliangSUI