php - cURL Login and set sessions -
http://example.com/auth/signin?email=name@example.com&password=test123
that page prints xml code,
{ "token": "exampletoken", "user": { "email": "name@example.com", "hosturl": "http://example.com/admin", "schema": "example", "firstname": "", "lastname": "", "photo": "", "id": 1, "createdat": "2016-13-28t14:45:23.000z", "updatedat": "2016-13-28t14:45:23.000z" } }
and want set token session , html://example.com/admin/index.php contents get_file_contents.
Comments
Post a Comment