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] => Fri, 12 Jul 2024 15:31:24 GMT
                    [x-amzn-remapped-date] => Fri, 12 Jul 2024 15:31:24 GMT
                    [x-amzn-requestid] => 30061301-2d35-42b6-9d0f-20f4f1e7912d
                    [referrer-policy] => strict-origin-when-cross-origin
                    [x-permitted-cross-domain-policies] => none
                    [x-xss-protection] => 0
                    [x-runtime] => 0.027408
                    [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] => d2f79452-732c-4cd5-8c88-41a5cfbd5933
                    [x-ratelimit-remaining] => 3599
                    [x-amz-apigw-id] => azjcDFCsoAMEj0w=
                    [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 3878642f6aa4950026d85e27726ba9ac.cloudfront.net (CloudFront)
                    [x-amz-cf-pop] => ORD56-P7
                    [x-amz-cf-id] => Gb0pN1gHUYatuQO3AIkiKBdjDOF7ahCpOWvZ27VJ2AfBnqGVlE6Wwg==
                )

        )

    [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: Fri, 12 Jul 2024 15:31:24 GMT
x-amzn-Remapped-Date: Fri, 12 Jul 2024 15:31:24 GMT
x-amzn-RequestId: 30061301-2d35-42b6-9d0f-20f4f1e7912d
Referrer-Policy: strict-origin-when-cross-origin
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 0
X-Runtime: 0.027408
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: d2f79452-732c-4cd5-8c88-41a5cfbd5933
X-RateLimit-Remaining: 3599
x-amz-apigw-id: azjcDFCsoAMEj0w=
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 3878642f6aa4950026d85e27726ba9ac.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: ORD56-P7
X-Amz-Cf-Id: Gb0pN1gHUYatuQO3AIkiKBdjDOF7ahCpOWvZ27VJ2AfBnqGVlE6Wwg==

{"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] => Fri, 12 Jul 2024 15:31:24 GMT
                                        )

                                    [x-amzn-remapped-date] => Array
                                        (
                                            [0] => Fri, 12 Jul 2024 15:31:24 GMT
                                        )

                                    [x-amzn-requestid] => Array
                                        (
                                            [0] => 30061301-2d35-42b6-9d0f-20f4f1e7912d
                                        )

                                    [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.027408
                                        )

                                    [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] => d2f79452-732c-4cd5-8c88-41a5cfbd5933
                                        )

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

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

                                    [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 3878642f6aa4950026d85e27726ba9ac.cloudfront.net (CloudFront)
                                        )

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

                                    [x-amz-cf-id] => Array
                                        (
                                            [0] => Gb0pN1gHUYatuQO3AIkiKBdjDOF7ahCpOWvZ27VJ2AfBnqGVlE6Wwg==
                                        )

                                )

                        )

                    [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