Advertisement
verygoodplugins

Untitled

Nov 12th, 2018
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.64 KB | None | 0 0
  1. HEADERS
  2. [Content-type] => application/json
  3. [Accept] => application/json
  4.  
  5. BODY
  6. {"code":"DSu7mP8SjF6xydzOwcxY12S4YmkGyAJqQ3WYUcX7IfU9N1SsEBmCTG5H1E4It8dM","client_id":"1kvmhkgc99ayjsndsorfqlgfrdmns2wytkbafyh8wk9wwstiouygnktzkdkds88j","client_secret":"//SECRET//","grant_type":"authorization_code"}
  7.  
  8. OPTIONS
  9. Array
  10. (
  11. [timeout] => 30
  12. [connect_timeout] => 10
  13. [useragent] => WordPress/4.9.8; http://dev.local
  14. [protocol_version] => 1.1
  15. [redirected] => 0
  16. [redirects] => 5
  17. [follow_redirects] => 1
  18. [blocking] => 1
  19. [type] => POST
  20. [filename] =>
  21. [auth] =>
  22. [proxy] =>
  23. [cookies] => Requests_Cookie_Jar Object
  24. (
  25. [cookies:protected] => Array
  26. (
  27. )
  28.  
  29. )
  30.  
  31. [max_bytes] =>
  32. [idn] => 1
  33. [transport] =>
  34. [verify] => /Applications/MAMP/htdocs/dev/wp-includes/certificates/ca-bundle.crt
  35. [verifyname] => 1
  36. [data_format] => body
  37. )
  38.  
  39. CURL_GETINFO()
  40.  
  41. (
  42. [url] => https://oauth.netviewshop.com/
  43. [content_type] => application/json
  44. [http_code] => 401
  45. [header_size] => 277
  46. [request_size] => 538
  47. [filetime] => -1
  48. [ssl_verify_result] => 0
  49. [redirect_count] => 0
  50. [total_time] => 0.411116
  51. [namelookup_time] => 0.001308
  52. [connect_time] => 0.062169
  53. [pretransfer_time] => 0.297391
  54. [size_upload] => 272
  55. [size_download] => 2
  56. [speed_download] => 4
  57. [speed_upload] => 661
  58. [download_content_length] => 2
  59. [upload_content_length] => 272
  60. [starttransfer_time] => 0.411076
  61. [redirect_time] => 0
  62. [redirect_url] =>
  63. [primary_ip] => 65.38.19.225
  64. [certinfo] => Array
  65. (
  66. )
  67.  
  68. [primary_port] => 443
  69. [local_ip] => 192.168.1.6
  70. [local_port] => 63368
  71. )
  72.  
  73. RESPONSE
  74.  
  75. (
  76. [headers] => Requests_Utility_CaseInsensitiveDictionary Object
  77. (
  78. [data:protected] => Array
  79. (
  80. [date] => Mon, 12 Nov 2018 20:31:55 GMT
  81. [server] => Apache/2.2.22 (Debian)
  82. [x-frame-options] => SAMEORIGIN
  83. [access-control-allow-origin] => *
  84. [vary] => Host
  85. [www-authenticate] => Bearer
  86. [content-length] => 2
  87. [content-type] => application/json
  88. )
  89.  
  90. )
  91.  
  92. [body] => {}
  93. [response] => Array
  94. (
  95. [code] => 401
  96. [message] => Unauthorized
  97. )
  98.  
  99. [cookies] => Array
  100. (
  101. )
  102.  
  103. [filename] =>
  104. [http_response] => WP_HTTP_Requests_Response Object
  105. (
  106. [response:protected] => Requests_Response Object
  107. (
  108. [body] => {}
  109. [raw] => HTTP/1.1 401 Authorization Required
  110. Date: Mon, 12 Nov 2018 20:31:55 GMT
  111. Server: Apache/2.2.22 (Debian)
  112. X-Frame-Options: SAMEORIGIN
  113. Access-Control-Allow-Origin: *
  114. Vary: Host
  115. WWW-Authenticate: Bearer
  116. Content-Length: 2
  117. Connection: close
  118. Content-Type: application/json
  119.  
  120. {}
  121. [headers] => Requests_Response_Headers Object
  122. (
  123. [data:protected] => Array
  124. (
  125. [date] => Array
  126. (
  127. [0] => Mon, 12 Nov 2018 20:31:55 GMT
  128. )
  129.  
  130. [server] => Array
  131. (
  132. [0] => Apache/2.2.22 (Debian)
  133. )
  134.  
  135. [x-frame-options] => Array
  136. (
  137. [0] => SAMEORIGIN
  138. )
  139.  
  140. [access-control-allow-origin] => Array
  141. (
  142. [0] => *
  143. )
  144.  
  145. [vary] => Array
  146. (
  147. [0] => Host
  148. )
  149.  
  150. [www-authenticate] => Array
  151. (
  152. [0] => Bearer
  153. )
  154.  
  155. [content-length] => Array
  156. (
  157. [0] => 2
  158. )
  159.  
  160. [content-type] => Array
  161. (
  162. [0] => application/json
  163. )
  164.  
  165. )
  166.  
  167. )
  168.  
  169. [status_code] => 401
  170. [protocol_version] => 1.1
  171. [success] =>
  172. [redirects] => 0
  173. [url] => https://oauth.netviewshop.com/
  174. [history] => Array
  175. (
  176. )
  177.  
  178. [cookies] => Requests_Cookie_Jar Object
  179. (
  180. [cookies:protected] => Array
  181. (
  182. )
  183.  
  184. )
  185.  
  186. )
  187.  
  188. [filename:protected] =>
  189. [data] =>
  190. [headers] =>
  191. [status] =>
  192. )
  193.  
  194. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement