Welcome Guest, Not a member yet? Register   Sign In
Controller is firing but I can't get the $_GET
#8

(This post was last modified: 03-25-2018, 03:32 AM by jreklund.)

Just send it with POST instead. It's so much easier and your url don't get bloated.

You are adding the following in the url:
Code:
{"lat":41.058304899999996,"long":-74.0711244,"email":"[email protected]"}

But there are no ?email= so it dosen't know you want to pick it up with $_GET.
http://localhost/Subit_backend/register?email=%7B%22lat%22:41.058304899999996,%22long%22:-74.0711244,%22email%22:%[email protected]%22%7D
Reply


Messages In This Thread
RE: Controller is firing but I can't get the $_GET - by jreklund - 03-25-2018, 03:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB