$response - Datei:/usr/www/users/kinderfw/wp-content/themes/wpcoach_child_theme/functions.php - Zeile: 63
Array
(
    [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
        (
            [data:protected] => Array
                (
                    [content-type] => application/json
                    [vary] => Array
                        (
                            [0] => Origin
                            [1] => X-Origin
                            [2] => Referer
                        )

                    [content-encoding] => gzip
                    [date] => Fri, 05 Apr 2024 11:44:01 GMT
                    [server] => scaffolding on HTTPServer2
                    [cache-control] => private
                    [x-xss-protection] => 0
                    [x-frame-options] => SAMEORIGIN
                    [x-content-type-options] => nosniff
                    [alt-svc] => h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
                )

        )

    [body] => {"title":"Vorstellung des Kinderwunschzentrums Mittelhessen","author_name":"KWZMIttelhessen","author_url":"https://www.youtube.com/@KWZMIttelhessen","type":"video","height":1000,"width":1778,"version":"1.0","provider_name":"YouTube","provider_url":"https://www.youtube.com/","thumbnail_height":360,"thumbnail_width":480,"thumbnail_url":"https://i.ytimg.com/vi/5GY0eYQ8pD0/hqdefault.jpg","html":"\u003ciframe width=\u00221778\u0022 height=\u00221000\u0022 src=\u0022https://www.youtube.com/embed/5GY0eYQ8pD0?feature=oembed\u0022 frameborder=\u00220\u0022 allow=\u0022accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\u0022 referrerpolicy=\u0022strict-origin-when-cross-origin\u0022 allowfullscreen title=\u0022Vorstellung des Kinderwunschzentrums Mittelhessen\u0022\u003e\u003c/iframe\u003e"}
    [response] => Array
        (
            [code] => 200
            [message] => OK
        )

    [cookies] => Array
        (
        )

    [filename] => 
    [http_response] => WP_HTTP_Requests_Response Object
        (
            [response:protected] => WpOrg\Requests\Response Object
                (
                    [body] => {"title":"Vorstellung des Kinderwunschzentrums Mittelhessen","author_name":"KWZMIttelhessen","author_url":"https://www.youtube.com/@KWZMIttelhessen","type":"video","height":1000,"width":1778,"version":"1.0","provider_name":"YouTube","provider_url":"https://www.youtube.com/","thumbnail_height":360,"thumbnail_width":480,"thumbnail_url":"https://i.ytimg.com/vi/5GY0eYQ8pD0/hqdefault.jpg","html":"\u003ciframe width=\u00221778\u0022 height=\u00221000\u0022 src=\u0022https://www.youtube.com/embed/5GY0eYQ8pD0?feature=oembed\u0022 frameborder=\u00220\u0022 allow=\u0022accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\u0022 referrerpolicy=\u0022strict-origin-when-cross-origin\u0022 allowfullscreen title=\u0022Vorstellung des Kinderwunschzentrums Mittelhessen\u0022\u003e\u003c/iframe\u003e"}
                    [raw] => HTTP/1.1 200 OK
Content-Type: application/json
Vary: Origin
Vary: X-Origin
Vary: Referer
Content-Encoding: gzip
Date: Fri, 05 Apr 2024 11:44:01 GMT
Server: scaffolding on HTTPServer2
Cache-Control: private
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Connection: close
Transfer-Encoding: chunked

{"title":"Vorstellung des Kinderwunschzentrums Mittelhessen","author_name":"KWZMIttelhessen","author_url":"https://www.youtube.com/@KWZMIttelhessen","type":"video","height":1000,"width":1778,"version":"1.0","provider_name":"YouTube","provider_url":"https://www.youtube.com/","thumbnail_height":360,"thumbnail_width":480,"thumbnail_url":"https://i.ytimg.com/vi/5GY0eYQ8pD0/hqdefault.jpg","html":"\u003ciframe width=\u00221778\u0022 height=\u00221000\u0022 src=\u0022https://www.youtube.com/embed/5GY0eYQ8pD0?feature=oembed\u0022 frameborder=\u00220\u0022 allow=\u0022accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\u0022 referrerpolicy=\u0022strict-origin-when-cross-origin\u0022 allowfullscreen title=\u0022Vorstellung des Kinderwunschzentrums Mittelhessen\u0022\u003e\u003c/iframe\u003e"}
                    [headers] => WpOrg\Requests\Response\Headers Object
                        (
                            [data:protected] => Array
                                (
                                    [content-type] => Array
                                        (
                                            [0] => application/json
                                        )

                                    [vary] => Array
                                        (
                                            [0] => Origin
                                            [1] => X-Origin
                                            [2] => Referer
                                        )

                                    [content-encoding] => Array
                                        (
                                            [0] => gzip
                                        )

                                    [date] => Array
                                        (
                                            [0] => Fri, 05 Apr 2024 11:44:01 GMT
                                        )

                                    [server] => Array
                                        (
                                            [0] => scaffolding on HTTPServer2
                                        )

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

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

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

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

                                    [alt-svc] => Array
                                        (
                                            [0] => h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
                                        )

                                )

                        )

                    [status_code] => 200
                    [protocol_version] => 1.1
                    [success] => 1
                    [redirects] => 0
                    [url] => https://www.youtube.com/oembed?maxwidth=2000&maxheight=1000&url=https%3A%2F%2Fyoutu.be%2F5GY0eYQ8pD0&format=json
                    [history] => Array
                        (
                        )

                    [cookies] => WpOrg\Requests\Cookie\Jar Object
                        (
                            [cookies:protected] => Array
                                (
                                )

                        )

                )

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

)
TESTDATA :

$provider_url_with_args => https://www.youtube.com/oembed?maxwidth=2000&maxheight=1000&url=https%3A%2F%2Fyoutu.be%2F5GY0eYQ8pD0&format=json

{"headers":{},"body":"{\"title\":\"Vorstellung des Kinderwunschzentrums Mittelhessen\",\"author_name\":\"KWZMIttelhessen\",\"author_url\":\"https:\/\/www.youtube.com\/@KWZMIttelhessen\",\"type\":\"video\",\"height\":1000,\"width\":1778,\"version\":\"1.0\",\"provider_name\":\"YouTube\",\"provider_url\":\"https:\/\/www.youtube.com\/\",\"thumbnail_height\":360,\"thumbnail_width\":480,\"thumbnail_url\":\"https:\/\/i.ytimg.com\/vi\/5GY0eYQ8pD0\/hqdefault.jpg\",\"html\":\"\\u003ciframe width=\\u00221778\\u0022 height=\\u00221000\\u0022 src=\\u0022https:\/\/www.youtube.com\/embed\/5GY0eYQ8pD0?feature=oembed\\u0022 frameborder=\\u00220\\u0022 allow=\\u0022accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\\u0022 referrerpolicy=\\u0022strict-origin-when-cross-origin\\u0022 allowfullscreen title=\\u0022Vorstellung des Kinderwunschzentrums Mittelhessen\\u0022\\u003e\\u003c\/iframe\\u003e\"}","response":{"code":200,"message":"OK"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}