• this is generate array

    Array
    (
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [date] => Wed, 08 Aug 2018 16:49:47 GMT
    [set-cookie] => PHPSESSID=jf6uu915jshencs1rnkb8r3501; path=/
    [expires] => Thu, 19 Nov 1981 08:52:00 GMT
    [cache-control] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    [pragma] => no-cache
    [content-length] => 15
    [content-type] => application/json; charset=UTF-8
    )

    )

    [body] => Invalid Api Key
    [response] => Array
    (
    [code] => 200
    [message] => OK
    )

    [cookies] => Array
    (
    [0] => WP_Http_Cookie Object
    (
    [name] => PHPSESSID
    [value] => jf6uu915jshencs1rnkb8r3501
    [expires] =>
    [path] => /
    [domain] => crm.pabau.com
    )

    )

    [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object
    (
    [response:protected] => Requests_Response Object
    (
    [body] => Invalid Api Key
    [raw] => HTTP/1.1 200 OK
    Date: Wed, 08 Aug 2018 16:49:47 GMT
    Set-Cookie: PHPSESSID=jf6uu915jshencs1rnkb8r3501; path=/
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Content-Length: 15
    Connection: close
    Content-Type: application/json; charset=UTF-8

    Invalid Api Key
    [headers] => Requests_Response_Headers Object
    (
    [data:protected] => Array
    (
    [date] => Array
    (
    [0] => Wed, 08 Aug 2018 16:49:47 GMT
    )

    [set-cookie] => Array
    (
    [0] => PHPSESSID=jf6uu915jshencs1rnkb8r3501; path=/
    )

    [expires] => Array
    (
    [0] => Thu, 19 Nov 1981 08:52:00 GMT
    )

    [cache-control] => Array
    (
    [0] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    )

    [pragma] => Array
    (
    [0] => no-cache
    )

    [content-length] => Array
    (
    [0] => 15
    )

    [content-type] => Array
    (
    [0] => application/json; charset=UTF-8
    )

    )

    )

    [status_code] => 200
    [protocol_version] => 1.1
    [success] => 1
    [redirects] => 0
    [url] => https://crm.pabau.com/OAuth2/leads/lead-curl.php
    [history] => Array
    (
    )

    [cookies] => Requests_Cookie_Jar Object
    (
    [cookies:protected] => Array
    (
    [PHPSESSID] => Requests_Cookie Object
    (
    [name] => PHPSESSID
    [value] => jf6uu915jshencs1rnkb8r3501
    [attributes] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [path] => /
    [domain] => crm.pabau.com
    )

    )

    [flags] => Array
    (
    [creation] => 1533746987
    [last-access] => 1533746987
    [persistent] =>
    [host-only] => 1
    )

    [reference_time] => 1533746987
    )

    )

    )

    )

    [filename:protected] =>
    [data] =>
    [headers] =>
    [status] =>
    )

    )

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Invalid key error’ is closed to new replies.