D
|
david powell author 1/23/2023 |
I have determined if the target server has no authentication set up, the result returns as data in a json. So for example - without any authenication the url above when inserted into a browser returns a dataset.
In the requesting app ( which is for an android device) I have set follow redirects to no avail. How can I get asprunner to return the data and not a redirect - or where is it redirecting to? |
D
|
david powell author 1/24/2023 |
I think I might have solved it. Its because after an authenticated login it runs code in my website in the aftersuccessfullogin event. It does talk about api calls failing if there are events that interfere with it on logging in in the user guide, just had to find it! |
M
|
MikeT 1/24/2023 |
maybe you just need to check if the request is just a REST request or a regular one via https://xlinesoft.com/phprunner/docs/rest-api-inrestapi.htm |
D
|
david powell author 1/31/2023 |
It was the post successful logon event that included a redirect and the API call coulnt get past.. |
M
|
MikeT 2/1/2023 |
That's great. |