How to delete '/' at the end of base url of api resource

my api resource url: http://apis.juhe.cn/simpleWeather/query?city=苏州&key=

however, i type in base url "http://apis.juhe.cn/simpleWeather/query", it will return
"http://apis.juhe.cn/simpleWeather/query/"

how to delete the '/' at the end of base url,

Hi @myto! As a quick fix, would you be able to use http://apis.juhe.cn/simpleWeather as the Base URL, which will automatically add a slash, so in your resource you'll run the request to http://apis.juhe.cn/simpleWeather/.

Then you can manually add query in before the URL parameters?

1 Like

Thanks.
It is good idea.

2 Likes