Go REST
K

Access Token

Kuruvajaya Krishna026 almost 4 years ago 10805 views 5 replies

where i can found Access Token

5 replies
Z
zeevy almost 4 years ago

Login with github or Google or microsoft account. You will be redirected to access token page

C
Cristián Neyra Avilés over 3 years ago

same problem, this is de php curl code:

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://gorest.co.in/public/v2/users');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, {\name\:\Tenali Ramakrishna\, \gender\:\male\, \email\:\tenali.ramakrishna@15ce.com\, \status\:\active\});

$headers = array();
$headers[] = 'Accept: application/json';
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization: Bearer e761243054d12fcec19fba6ad5120789909f08c13ece23acb7c6765189e387d4';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
echo 'Error:' . curl_error($ch);
}
curl_close($ch);

K
Krupa jyothi Angadala over 2 years ago

Where I can found Access token

Your reply

Markdown supported