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] => Mon, 26 Feb 2024 21:27:55 GMT
                    [x-amzn-requestid] => 456bfdc5-9764-44c5-bb34-76f2edbb39e4
                    [referrer-policy] => strict-origin-when-cross-origin
                    [x-permitted-cross-domain-policies] => none
                    [x-xss-protection] => 0
                    [x-runtime] => 0.021167
                    [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] => 396551d1-04aa-4eab-af01-02c58a3501d2
                    [x-ratelimit-remaining] => 3599
                    [x-amz-apigw-id] => Tw1OTGV9oAMENmQ=
                    [cache-control] => no-cache
                    [x-amzn-remapped-server] => nginx
                    [x-ratelimit-limit] => 3600
                    [x-content-type-options] => nosniff
                    [x-amzn-remapped-date] => Mon, 26 Feb 2024 21:27:55 GMT
                    [x-cache] => Error from cloudfront
                    [via] => 1.1 340078104d92413cbcc6faa6fa593aa4.cloudfront.net (CloudFront)
                    [x-amz-cf-pop] => ORD56-P7
                    [x-amz-cf-id] => fxBSwhalGYIWfRrm1d5762c_RNK-mbCp6BkhO9y7lCPh0MWsZSN68w==
                )

        )

    [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
        (
            [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: Mon, 26 Feb 2024 21:27:55 GMT
x-amzn-RequestId: 456bfdc5-9764-44c5-bb34-76f2edbb39e4
Referrer-Policy: strict-origin-when-cross-origin
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 0
X-Runtime: 0.021167
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: 396551d1-04aa-4eab-af01-02c58a3501d2
X-RateLimit-Remaining: 3599
x-amz-apigw-id: Tw1OTGV9oAMENmQ=
Cache-Control: no-cache
x-amzn-Remapped-Server: nginx
X-RateLimit-Limit: 3600
X-Content-Type-Options: nosniff
x-amzn-Remapped-Date: Mon, 26 Feb 2024 21:27:55 GMT
X-Cache: Error from cloudfront
Via: 1.1 340078104d92413cbcc6faa6fa593aa4.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: ORD56-P7
X-Amz-Cf-Id: fxBSwhalGYIWfRrm1d5762c_RNK-mbCp6BkhO9y7lCPh0MWsZSN68w==

{"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] => Mon, 26 Feb 2024 21:27:55 GMT
                                        )

                                    [x-amzn-requestid] => Array
                                        (
                                            [0] => 456bfdc5-9764-44c5-bb34-76f2edbb39e4
                                        )

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

                                    [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] => 396551d1-04aa-4eab-af01-02c58a3501d2
                                        )

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

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

                                    [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-amzn-remapped-date] => Array
                                        (
                                            [0] => Mon, 26 Feb 2024 21:27:55 GMT
                                        )

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

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

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

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

                                )

                        )

                    [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] => 
            [data] => 
            [headers] => 
            [status] => 
        )

)
Add Tag