Im currently working on an REST api for an android application and for some reason the traffic seems to 301 Redirect to the same host which then 200 Accepts
Api: global.mypanel.host/api/login
Sending {"username":"user","password":"pass"}
should (and does in testing) return a response. However when sending from the android app the data is sent to the api BUT it 301 Redirects to the same host, same url, same api end point But doesnt pass the data..
Im scratching my head and my Google-foo isnt cutting it. SOS.
edit: its worth noting that using online tools to test the api works fine, redirect-checker tools also show that it only goes 200 and not 301 first.
https://global.mypanel.host/api/login301 Moved Permanentlyhttps://global.mypanel.host/api/login/200 OK
WHY? 😂