I have 2 applications.
I want frontend (react) to be available on url: localhost:5001/ekadry
and backend (web api in c#) to be available on url: localhost:5001/ekadryapi
This is how it looks like in IIS: 
When I go to each of these urls each app seems to be working. The problem occurs when frontend requests something from backend - then I get an error 405 Method Not Allowed:
The problem DOES NOT occur when backend and frontend are hosted on different ports as different Web Sites. Can someone explain it to me?
