mardi 9 juillet 2019

Web API - Default Routing for web URL

Hi I have a net web api set up. The url I want to route to is https://localhost:44378 But Web api forces me to use https://localhost:44378/api/status

How do I set up a default so if any traffic comes in at https://localhost:44378? redirects to the same code as https://localhost:44378/api/status?

I have tried to use * as the routing default




Aucun commentaire:

Enregistrer un commentaire