Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ON https://dev.local/. Connection output:
- [29-Nov-2018 22:09:45 UTC] doing access code request
- [29-Nov-2018 22:09:45 UTC] Array
- (
- [timeout] => 30
- [headers] => Array
- (
- [Content-Type] => application/json
- )
- [body] => {"code":"qQQuo-0gPPYPB+5Ny8hI5LYkLHDp19Xgabl3Jx6z4Qp8TJX8UoDHRkN4+h-u1\/p3","client_id":"1kvmhkgc99ayjsndsorfqlgfrdmns2wytkbafyh8wk9wwstiouygnktzkdkds88j","client_secret":"\\\CLIENT SECRET\\\","grant_type":"authorization_code"}
- )
- [29-Nov-2018 22:09:46 UTC] got response
- [29-Nov-2018 22:09:46 UTC] Array
- (
- [headers] => Requests_Utility_CaseInsensitiveDictionary Object
- (
- [data:protected] => Array
- (
- [date] => Thu, 29 Nov 2018 22:09:46 GMT
- [server] => Apache/2.2.22 (Debian)
- [x-frame-options] => SAMEORIGIN
- [access-control-allow-origin] => *
- [vary] => Host
- [content-length] => 218
- [content-type] => application/json
- )
- )
- [body] => {"access_token":"mbZcKC2CPENN4iTCndCQnHdDmFf5qeoTgZa1iuQv8+TBavsDK0Ar6naIsF55\/RIE","expires_in":7200,"refresh_token":"T3tBNMG23JjRwdo69sgdIXrvECh3NdkFONe0MzEXK7VB5fDDp\/KnwKlooBpzE-G7","expires":"2018-12-29 16:09:46"}
- [response] => Array
- (
- [code] => 200
- [message] => OK
- )
- [cookies] => Array
- (
- )
- [filename] =>
- [http_response] => WP_HTTP_Requests_Response Object
- (
- [response:protected] => Requests_Response Object
- (
- [body] => {"access_token":"mbZcKC2CPENN4iTCndCQnHdDmFf5qeoTgZa1iuQv8+TBavsDK0Ar6naIsF55\/RIE","expires_in":7200,"refresh_token":"T3tBNMG23JjRwdo69sgdIXrvECh3NdkFONe0MzEXK7VB5fDDp\/KnwKlooBpzE-G7","expires":"2018-12-29 16:09:46"}
- [raw] => HTTP/1.1 200 OK
- Date: Thu, 29 Nov 2018 22:09:46 GMT
- Server: Apache/2.2.22 (Debian)
- X-Frame-Options: SAMEORIGIN
- Access-Control-Allow-Origin: *
- Vary: Host
- Content-Length: 218
- Connection: close
- Content-Type: application/json
- {"access_token":"mbZcKC2CPENN4iTCndCQnHdDmFf5qeoTgZa1iuQv8+TBavsDK0Ar6naIsF55\/RIE","expires_in":7200,"refresh_token":"T3tBNMG23JjRwdo69sgdIXrvECh3NdkFONe0MzEXK7VB5fDDp\/KnwKlooBpzE-G7","expires":"2018-12-29 16:09:46"}
- [headers] => Requests_Response_Headers Object
- (
- [data:protected] => Array
- (
- [date] => Array
- (
- [0] => Thu, 29 Nov 2018 22:09:46 GMT
- )
- [server] => Array
- (
- [0] => Apache/2.2.22 (Debian)
- )
- [x-frame-options] => Array
- (
- [0] => SAMEORIGIN
- )
- [access-control-allow-origin] => Array
- (
- [0] => *
- )
- [vary] => Array
- (
- [0] => Host
- )
- [content-length] => Array
- (
- [0] => 218
- )
- [content-type] => Array
- (
- [0] => application/json
- )
- )
- )
- [status_code] => 200
- [protocol_version] => 1.1
- [success] => 1
- [redirects] => 0
- [url] => https://oauth.netviewshop.com/
- [history] => Array
- (
- )
- [cookies] => Requests_Cookie_Jar Object
- (
- [cookies:protected] => Array
- (
- )
- )
- )
- [filename:protected] =>
- [data] =>
- [headers] =>
- [status] =>
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement