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

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -