So I am probably making api system and I am trying to get the client req api. I checked some tutorials and I found I could use :
$data = $_SERVER['QUERY_STRING'];
It's works but I am getting string like : action=get&id=theapikeygoeshere
.
And I need to get only the text after id=
, How can I do that?
Thanks!