Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HEADERS
- [Content-type] => application/json
- [Accept] => application/json
- BODY
- {"code":"DSu7mP8SjF6xydzOwcxY12S4YmkGyAJqQ3WYUcX7IfU9N1SsEBmCTG5H1E4It8dM","client_id":"1kvmhkgc99ayjsndsorfqlgfrdmns2wytkbafyh8wk9wwstiouygnktzkdkds88j","client_secret":"//SECRET//","grant_type":"authorization_code"}
- OPTIONS
- Array
- (
- [timeout] => 30
- [connect_timeout] => 10
- [useragent] => WordPress/4.9.8; http://dev.local
- [protocol_version] => 1.1
- [redirected] => 0
- [redirects] => 5
- [follow_redirects] => 1
- [blocking] => 1
- [type] => POST
- [filename] =>
- [auth] =>
- [proxy] =>
- [cookies] => Requests_Cookie_Jar Object
- (
- [cookies:protected] => Array
- (
- )
- )
- [max_bytes] =>
- [idn] => 1
- [transport] =>
- [verify] => /Applications/MAMP/htdocs/dev/wp-includes/certificates/ca-bundle.crt
- [verifyname] => 1
- [data_format] => body
- )
- CURL_GETINFO()
- (
- [url] => https://oauth.netviewshop.com/
- [content_type] => application/json
- [http_code] => 401
- [header_size] => 277
- [request_size] => 538
- [filetime] => -1
- [ssl_verify_result] => 0
- [redirect_count] => 0
- [total_time] => 0.411116
- [namelookup_time] => 0.001308
- [connect_time] => 0.062169
- [pretransfer_time] => 0.297391
- [size_upload] => 272
- [size_download] => 2
- [speed_download] => 4
- [speed_upload] => 661
- [download_content_length] => 2
- [upload_content_length] => 272
- [starttransfer_time] => 0.411076
- [redirect_time] => 0
- [redirect_url] =>
- [primary_ip] => 65.38.19.225
- [certinfo] => Array
- (
- )
- [primary_port] => 443
- [local_ip] => 192.168.1.6
- [local_port] => 63368
- )
- RESPONSE
- (
- [headers] => Requests_Utility_CaseInsensitiveDictionary Object
- (
- [data:protected] => Array
- (
- [date] => Mon, 12 Nov 2018 20:31:55 GMT
- [server] => Apache/2.2.22 (Debian)
- [x-frame-options] => SAMEORIGIN
- [access-control-allow-origin] => *
- [vary] => Host
- [www-authenticate] => Bearer
- [content-length] => 2
- [content-type] => application/json
- )
- )
- [body] => {}
- [response] => Array
- (
- [code] => 401
- [message] => Unauthorized
- )
- [cookies] => Array
- (
- )
- [filename] =>
- [http_response] => WP_HTTP_Requests_Response Object
- (
- [response:protected] => Requests_Response Object
- (
- [body] => {}
- [raw] => HTTP/1.1 401 Authorization Required
- Date: Mon, 12 Nov 2018 20:31:55 GMT
- Server: Apache/2.2.22 (Debian)
- X-Frame-Options: SAMEORIGIN
- Access-Control-Allow-Origin: *
- Vary: Host
- WWW-Authenticate: Bearer
- Content-Length: 2
- Connection: close
- Content-Type: application/json
- {}
- [headers] => Requests_Response_Headers Object
- (
- [data:protected] => Array
- (
- [date] => Array
- (
- [0] => Mon, 12 Nov 2018 20:31:55 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
- )
- [www-authenticate] => Array
- (
- [0] => Bearer
- )
- [content-length] => Array
- (
- [0] => 2
- )
- [content-type] => Array
- (
- [0] => application/json
- )
- )
- )
- [status_code] => 401
- [protocol_version] => 1.1
- [success] =>
- [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