Difference between revisions of "Att"
From Wiki2
Line 2: | Line 2: | ||
http://localhost/?code=WnaBDEsEV9d1erjeYI6V | http://localhost/?code=WnaBDEsEV9d1erjeYI6V | ||
Client Id: 7kwrdtgkob2msbsfymr4wods78uanf4o | |||
Client Secret: eaega4cuwbntp3s03s6ycuh9nnfgenny | |||
client_id=7kwrdtgkob2msbsfymr4wods78uanf4o&client_secret=eaega4cuwbntp3s03s6ycuh9nnfgenny&grant_type=authorization_code&code=WnaBDEsEV9d1erjeYI6V | |||
{ | |||
"access_token": "Rvrc68jcKGRKJXk0Azugf7o2LDZMDDTD", | |||
"token_type": "bearer", | |||
"expires_in": 157679999, | |||
"refresh_token": "fMzxpdScXERpxHqMTJvW3Y6SZiQNh734" | |||
} | |||
Line 20: | Line 32: | ||
ype=authorization_code&code=61jKIb8ZJDe0oiT1JFhR" | ype=authorization_code&code=61jKIb8ZJDe0oiT1JFhR" | ||
{"access_token":"I9OJOl4g6nzmv2m0RggG7P15klOTvHpe","token_type":"bearer","expires_in":157679999,"refresh_token":" | { | ||
"access_token":"I9OJOl4g6nzmv2m0RggG7P15klOTvHpe", | |||
"token_type":"bearer","expires_in":157679999, | |||
"refresh_token":"3kwd1zWsescSmZ7QYklO94tTXw8eHKb8" | |||
} |
Revision as of 10:36, 20 May 2014
https://github.com/attdevlab/DevLabs http://localhost/?code=WnaBDEsEV9d1erjeYI6V
Client Id: 7kwrdtgkob2msbsfymr4wods78uanf4o
Client Secret: eaega4cuwbntp3s03s6ycuh9nnfgenny
client_id=7kwrdtgkob2msbsfymr4wods78uanf4o&client_secret=eaega4cuwbntp3s03s6ycuh9nnfgenny&grant_type=authorization_code&code=WnaBDEsEV9d1erjeYI6V
{
"access_token": "Rvrc68jcKGRKJXk0Azugf7o2LDZMDDTD", "token_type": "bearer", "expires_in": 157679999, "refresh_token": "fMzxpdScXERpxHqMTJvW3Y6SZiQNh734"
}
stuff2get
http://localhost/?code=61jKIb8ZJDe0oiT1JFhR
App Key: 2e1dsvd4fl6kgpwfbarebfxuvyppayhh
App Secret: tveoq3xbqaesdl1tjddeboogkdeuwpbk
Merchant ID: e343f84e-2bf2-4d9e-b235-476c73badbd2
$ curl https://api.att.com/oauth/token --request POST --insecure --data "client_id=2e 1dsvd4fl6kgpwfbarebfxuvyppayhh&client_secret=tveoq3xbqaesdl1tjddeboogkdeuwpbk&grant_t ype=authorization_code&code=61jKIb8ZJDe0oiT1JFhR"
{ "access_token":"I9OJOl4g6nzmv2m0RggG7P15klOTvHpe", "token_type":"bearer","expires_in":157679999, "refresh_token":"3kwd1zWsescSmZ7QYklO94tTXw8eHKb8" }