jeudi 31 décembre 2015

404 when trying to access web api

I have an application I'm deploying to azure. It's a SPA app which uses REST API.

I placed the folder of the app in side the wwwroot folder.

when I try to access the API from my local machine i.e. my localhost:1979/api/auth/login I can do it but after I place the files in the www folder - I get a 404 when trying to access:

I tried doing it on my machine on my local IIS and got the same error.

I'm sure it's a stupid thing like configuration but I can't figure it out.

Thanks for any help

Aucun commentaire:

Enregistrer un commentaire