Home > Net >  Web API problem
Web API problem

Time:09-17

API interface document out, enter the IP address +/help, prompt can not find the index, but the index the file, the other one can replace with the areas of over or cannot use, which bosses know what's the problem

CodePudding user response:

If you create VS webapI, API API routing, and MVC is different, the default will add API in this paragraph,
 
The config. Routes. MapHttpRoute (
Name: "DefaultApi,"
RouteTemplate: "API/{controller}/{id}",
Defaults: new {id=RouteParameter. Optional}
);

CodePudding user response:

This is some, I can use the change come over

CodePudding user response:

Deploy the matter with you?
Your IP address right?
Your route to type?
  • Related