Hi,
i try to add a new web api to my .net application and place it on Azure (where all my APIs are).
the new API is getNumbers:
public class GetNumbersController : ApiController
{
[HttpGet]
public List<string> GetNumbers(string planeType)
{
...
}
}
For some reason i can't access it. when i type the url [server]/getNumbers i receive:
<Error>
<Message>
No HTTP resource was found that matches the request URI 'http://aeronexus-we.azurewebsites.net/GetTailNumbers'.
</Message>
</Error>
Of course that all my other APIs build the same and are accessible
I even can't see my new API under
[server]/help (where i can see all the others)
If it helps to understand, localy i can access my new API
The routes is:
config.Routes.MapHttpRoute(
name: "ActionApi",
routeTemplate: "{controller}/{action}/{id}",
defaults: new {id = RouteParameter.Optional});
Thanks in advanced.