API Path Error that can be easily fixed
71
Views
0
Comments
New
Service Studio

Hi,

I recently lost a lot of time when implementing an API as the top level node does not highlight an error when you include a / at the end of your base url.

At the method level when you do not include a / at the start of the url path it tells you that a / is required at the start.

When the baseurl and method are concatenated you end up with an extra // which results in the incorrect URL. It's quite difficult to spot. Please can you add some validation to the API node where a baseURL is added to flag if a user incorrectly adds a forward slash / at the end.

I can't be the only one that has been caught out by this.

Thanks

John