PGBI / kong-dashboard

Dashboard for managing Kong gateway
MIT License
2.17k stars 390 forks source link

schema violation (host: invalid value: mockbin.org?wsdl #224

Closed jianghunan closed 3 years ago

jianghunan commented 3 years ago

hello,I use kong (version 2.0.1) add a service

curl -i -X POST --url http://localhost:8001/services/ --data 'name=example-service22' --data 'url=http%3a%2f%2fmockbin.org%3fwsdl'

appear this error: {"message":"schema violation (host: invalid value: mockbin.org?wsdl)","name":"schema violation","fields":{"host":"invalid value: mockbin.org?wsdl"},"code":2}

find that when the url include '?', will appear this error but at the version (0.12.3) , when i add a API, "upstream_url" can include ‘?’

thanks!!!