UnityWebRequest.Post and confirming login

So I have a script that is using a POST to submit login information. I’m a little green in regards to website stuff, but how do I confirm the login was successful with the web request itself? The downloadHandler.text doesn’t say “success” or anything specifically identifiable, it just redirects (It’s a wordpress site)

Any guidance is awesome, thanks!

The script that you are calling (a php script) with the web-request must return “echo” some sort of code or response that you can pick up with downloadHandler.text - it’s down to you to write the php script, do the necessary work, and output a response.

Correct, but it is already prebuilt. It’s a wordpress login. I didn’t have to write it. What I noticed is that I’m actually dealing with setting cookies, now, to get an appropriate response. Thanks for your reply.

Also remember that if it’s accessible from outwith the website, that’s a security risk; also wordpress is well known, so whatever POST vars you’re giving, are also known to all the hackers and dodgy people across the world.