You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However simply using the regular config doesnt work, when I request localhost/api/login, it will look for a folder /archive named "login" instead of passing it as rest api request. How do I redirect the requests after the /api url ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a API built with PHP on localhost/api
However simply using the regular config doesnt work, when I request localhost/api/login, it will look for a folder /archive named "login" instead of passing it as rest api request. How do I redirect the requests after the /api url ?
Tried to do this, but I receive a 500 error
Beta Was this translation helpful? Give feedback.
All reactions