Attempt 1url=https://api.getdrip.com/v2/5056522/tags
Array
(
    [email] => [email protected]
    [tag] => Registered
)
Array
(
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
        (
            [data:protected] => Array
                (
                    [content-type] => application/vnd.api+json; charset=utf-8
                    [content-length] => 278
                    [date] => Thu, 19 Sep 2024 19:07:08 GMT
                    [x-amzn-remapped-date] => Thu, 19 Sep 2024 19:07:08 GMT
                    [x-amzn-requestid] => d0f5f892-3397-4c61-887e-4e873e558a26
                    [referrer-policy] => strict-origin-when-cross-origin
                    [x-permitted-cross-domain-policies] => none
                    [x-xss-protection] => 0
                    [x-runtime] => 0.026597
                    [strict-transport-security] => max-age=63072000; includeSubDomains
                    [x-amzn-remapped-content-length] => 278
                    [x-frame-options] => SAMEORIGIN
                    [x-amzn-remapped-connection] => keep-alive
                    [x-download-options] => noopen
                    [x-request-id] => 6511c461-1dfd-4bee-9c3a-0f603653ed3e
                    [x-ratelimit-remaining] => 3599
                    [x-amz-apigw-id] => eXdubFVXoAMER3w=
                    [cache-control] => no-cache
                    [x-amzn-remapped-server] => nginx
                    [x-ratelimit-limit] => 3600
                    [x-content-type-options] => nosniff
                    [x-cache] => Error from cloudfront
                    [via] => 1.1 efde05e46ddde18e445bfc681d2851b2.cloudfront.net (CloudFront)
                    [x-amz-cf-pop] => ORD56-P7
                    [x-amz-cf-id] => KX_oV4RuwODuFW3BWXiXK3c_5Lt1WDk-7Tg21M9CL4d0UkqksPuqGQ==
                )

        )

    [body] => {"errors":[{"code":"email_error","attribute":"email","message":"Email must be a valid email address"},{"code":"presence_error","attribute":"email","message":"Email can't be blank"},{"code":"length_error","attribute":"tag","message":"Tag is too short (minimum is 1 character)"}]}
    [response] => Array
        (
            [code] => 422
            [message] => Unprocessable Entity
        )

    [cookies] => Array
        (
        )

    [filename] => 
    [http_response] => WP_HTTP_Requests_Response Object
        (
            [data] => 
            [headers] => 
            [status] => 
            [response:protected] => Requests_Response Object
                (
                    [body] => {"errors":[{"code":"email_error","attribute":"email","message":"Email must be a valid email address"},{"code":"presence_error","attribute":"email","message":"Email can't be blank"},{"code":"length_error","attribute":"tag","message":"Tag is too short (minimum is 1 character)"}]}
                    [raw] => HTTP/1.1 422 
Content-Type: application/vnd.api+json; charset=utf-8
Content-Length: 278
Connection: close
Date: Thu, 19 Sep 2024 19:07:08 GMT
x-amzn-Remapped-Date: Thu, 19 Sep 2024 19:07:08 GMT
x-amzn-RequestId: d0f5f892-3397-4c61-887e-4e873e558a26
Referrer-Policy: strict-origin-when-cross-origin
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 0
X-Runtime: 0.026597
Strict-Transport-Security: max-age=63072000; includeSubDomains
x-amzn-Remapped-Content-Length: 278
X-Frame-Options: SAMEORIGIN
x-amzn-Remapped-Connection: keep-alive
X-Download-Options: noopen
X-Request-Id: 6511c461-1dfd-4bee-9c3a-0f603653ed3e
X-RateLimit-Remaining: 3599
x-amz-apigw-id: eXdubFVXoAMER3w=
Cache-Control: no-cache
x-amzn-Remapped-Server: nginx
X-RateLimit-Limit: 3600
X-Content-Type-Options: nosniff
X-Cache: Error from cloudfront
Via: 1.1 efde05e46ddde18e445bfc681d2851b2.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: ORD56-P7
X-Amz-Cf-Id: KX_oV4RuwODuFW3BWXiXK3c_5Lt1WDk-7Tg21M9CL4d0UkqksPuqGQ==

{"errors":[{"code":"email_error","attribute":"email","message":"Email must be a valid email address"},{"code":"presence_error","attribute":"email","message":"Email can't be blank"},{"code":"length_error","attribute":"tag","message":"Tag is too short (minimum is 1 character)"}]}
                    [headers] => Requests_Response_Headers Object
                        (
                            [data:protected] => Array
                                (
                                    [content-type] => Array
                                        (
                                            [0] => application/vnd.api+json; charset=utf-8
                                        )

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

                                    [date] => Array
                                        (
                                            [0] => Thu, 19 Sep 2024 19:07:08 GMT
                                        )

                                    [x-amzn-remapped-date] => Array
                                        (
                                            [0] => Thu, 19 Sep 2024 19:07:08 GMT
                                        )

                                    [x-amzn-requestid] => Array
                                        (
                                            [0] => d0f5f892-3397-4c61-887e-4e873e558a26
                                        )

                                    [referrer-policy] => Array
                                        (
                                            [0] => strict-origin-when-cross-origin
                                        )

                                    [x-permitted-cross-domain-policies] => Array
                                        (
                                            [0] => none
                                        )

                                    [x-xss-protection] => Array
                                        (
                                            [0] => 0
                                        )

                                    [x-runtime] => Array
                                        (
                                            [0] => 0.026597
                                        )

                                    [strict-transport-security] => Array
                                        (
                                            [0] => max-age=63072000; includeSubDomains
                                        )

                                    [x-amzn-remapped-content-length] => Array
                                        (
                                            [0] => 278
                                        )

                                    [x-frame-options] => Array
                                        (
                                            [0] => SAMEORIGIN
                                        )

                                    [x-amzn-remapped-connection] => Array
                                        (
                                            [0] => keep-alive
                                        )

                                    [x-download-options] => Array
                                        (
                                            [0] => noopen
                                        )

                                    [x-request-id] => Array
                                        (
                                            [0] => 6511c461-1dfd-4bee-9c3a-0f603653ed3e
                                        )

                                    [x-ratelimit-remaining] => Array
                                        (
                                            [0] => 3599
                                        )

                                    [x-amz-apigw-id] => Array
                                        (
                                            [0] => eXdubFVXoAMER3w=
                                        )

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

                                    [x-amzn-remapped-server] => Array
                                        (
                                            [0] => nginx
                                        )

                                    [x-ratelimit-limit] => Array
                                        (
                                            [0] => 3600
                                        )

                                    [x-content-type-options] => Array
                                        (
                                            [0] => nosniff
                                        )

                                    [x-cache] => Array
                                        (
                                            [0] => Error from cloudfront
                                        )

                                    [via] => Array
                                        (
                                            [0] => 1.1 efde05e46ddde18e445bfc681d2851b2.cloudfront.net (CloudFront)
                                        )

                                    [x-amz-cf-pop] => Array
                                        (
                                            [0] => ORD56-P7
                                        )

                                    [x-amz-cf-id] => Array
                                        (
                                            [0] => KX_oV4RuwODuFW3BWXiXK3c_5Lt1WDk-7Tg21M9CL4d0UkqksPuqGQ==
                                        )

                                )

                        )

                    [status_code] => 422
                    [protocol_version] => 1.1
                    [success] => 
                    [redirects] => 0
                    [url] => https://api.getdrip.com/v2/5056522/tags
                    [history] => Array
                        (
                        )

                    [cookies] => Requests_Cookie_Jar Object
                        (
                            [cookies:protected] => Array
                                (
                                )

                        )

                )

            [filename:protected] => 
        )

)
Add Tag