Web Connection
Method path
Gravatar is a globally recognized avatar based on your email address. Method path
  Piotr Zielonka
  All
  Apr 20, 2026 @ 06:26am

Hi, I am a fresh new user of WestWind Web Connections. I have just set up a REST service with IIS and I am adding my own methods. It works really fine, but is it possible to serve paths like this: https://myserver/myapi/v1/myMethod

I mean more-than-one-part path and no need to use extension .ms or any other with myMethod

Gravatar is a globally recognized avatar based on your email address. re: Method path
  Rick Strahl
  Piotr Zielonka
  Apr 20, 2026 @ 12:22pm

Not easily, but yes you can.

Using Extensionsless Urls - West Wind Web Connection

The issue is that handlers are mapped to extensions and there's no easy generic way to map them to a specific endpoint. So the way the above works it looks for extensionless Urls and when it finds one fires a custom handler request in your process class that lets you decide how to handle the URL.

It's a bit of work as you pretty much have to map each request and each combination of Url segments but it's doable.

+++ Rick ---

© 1996-2026