Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
11 kB
2
Indexable
Never
'_headers' => {
                                 'Content-Type' => 'application/json',
                                 'Accept' => 'application/json',
                                 'Authorization' => 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJTV0lBVEpCNFJWTFpCRzlMUVdISVJLTFNaVyIsImp0aSI6ImQ1ZDllYzI4Y2VmNzJiOTA5YjQwOTI5YjljYTZjZWRjYmQ4NGJlOWY1MmNjNGE0NjdlMzgyZWM1NGQ1MTM2YWUyNWJiNWM0YmU0MTA5MDAwIiwiaWF0IjoxNjM3MDcwNjA4Ljg1NTIwMSwibmJmIjoxNjM3MDcwNjA4Ljg1NTIwNSwiZXhwIjoxNjM3MDcxMjA4Ljg1NDkxNywic3ViIjoiIiwic2NvcGVzIjpbIndyaXRlIl19.dMWWrRfSw_Xqq8ueP1UYnIG-AyTwyUdCy9bcICDN4lKbbPuyduniz7d26QudGc4w-B4SA6I8_3GIEtNEQ8uNqitVXaDNc7Z5V6XvHEdM_D_FSY7E1AV_Im7RG8jjT9zFdGlGI6zw3x-l9P2sAuIfFklak9J6rAx-vx1K-GRcPKtQIAKSbc3nvChBmyfuxK84StkLXDDCGrQDMP9s5jI0Wgd4IDPbexA9XNDJCjyQZR5EjR-lNH_LnfrqP9AU_gSa3GiM9p_SVSXUWvWdzlhd8I0lAoRiMLy02Yo8vB17xnV9nBy4wyITSwyGcVrz70-ubxVnPfPkEZCUuC8NgZvemw',
                                 'charset' => 'UTF-8'
                               },
                 '_res' => bless( {
                                    '_request' => bless( {
                                                           '_uri_canonical' => bless( do{\(my $o = 'http://shopware.kivitendo.de/api/_action/media/a944aa341c594f2bbd18bcee47c5592b/upload?extension=png&fileName=meinpnga')}, 'URI::http' ),
                                                           '_method' => 'POST',
                                                           '_uri' => $VAR1->{'_res'}{'_request'}{'_uri_canonical'},
                                                           '_headers' => bless( {
                                                                                  'accept' => 'application/json',
                                                                                  'user-agent' => 'REST::Client/273',
                                                                                  'charset' => 'UTF-8',
                                                                                  '::std_case' => {
                                                                                                    'charset' => 'Charset'
                                                                                                  },
                                                                                  'content-length' => 374510,
                                                                                  'authorization' => 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJTV0lBVEpCNFJWTFpCRzlMUVdISVJLTFNaVyIsImp0aSI6ImQ1ZDllYzI4Y2VmNzJiOTA5YjQwOTI5YjljYTZjZWRjYmQ4NGJlOWY1MmNjNGE0NjdlMzgyZWM1NGQ1MTM2YWUyNWJiNWM0YmU0MTA5MDAwIiwiaWF0IjoxNjM3MDcwNjA4Ljg1NTIwMSwibmJmIjoxNjM3MDcwNjA4Ljg1NTIwNSwiZXhwIjoxNjM3MDcxMjA4Ljg1NDkxNywic3ViIjoiIiwic2NvcGVzIjpbIndyaXRlIl19.dMWWrRfSw_Xqq8ueP1UYnIG-AyTwyUdCy9bcICDN4lKbbPuyduniz7d26QudGc4w-B4SA6I8_3GIEtNEQ8uNqitVXaDNc7Z5V6XvHEdM_D_FSY7E1AV_Im7RG8jjT9zFdGlGI6zw3x-l9P2sAuIfFklak9J6rAx-vx1K-GRcPKtQIAKSbc3nvChBmyfuxK84StkLXDDCGrQDMP9s5jI0Wgd4IDPbexA9XNDJCjyQZR5EjR-lNH_LnfrqP9AU_gSa3GiM9p_SVSXUWvWdzlhd8I0lAoRiMLy02Yo8vB17xnV9nBy4wyITSwyGcVrz70-ubxVnPfPkEZCUuC8NgZvemw',
                                                                                  'content-type' => 'image/png'
                                                                                }, 'HTTP::Headers' ),
                                                           '_content' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABNwAAAKaCAYAAADlHURbAAAABHNCSVQICAgIfAhkiAAAABl0RVh0U29mdHdhcmUAZ25vbWUtc2NyZWVuc2hvdO8Dvz4AACAASURBVHic7J13fBRFH4ef3
/qi0SBoNBTOeOuCQ1rvUu8fQs1Yp8uFABhCw2jcpg2FP2/k5P33YOzZh6jZ89DENCX0pTcwT32JnH9NwuV04kLAqdXgm3w3mrDI353SpUiG/S8IooSgkTyeNwAQRfUa1MTV/wOTy4JmAtpwYgAAAABJRU5ErkJg
gg=='
                                                         }, 'HTTP::Request' ),
                                    '_rc' => '204',
                                    '_content' => '',
                                    '_protocol' => 'HTTP/1.1',
                                    '_msg' => 'No Content',
                                    '_headers' => bless( {
                                                           'x-content-type-options' => 'nosniff',
                                                           'content-security-policy' => 'object-src \'none\'; script-src \'none\'; base-uri \'self\';',
                                                           'client-peer' => '185.11.137.38:80',
                                                           'access-control-allow-methods' => 'GET,POST,PUT,PATCH,DELETE',
                                                           'access-control-allow-headers' => 'Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,fail-on-error,indexing-behavior,single-operation,sw-include-seo-urls',
                                                           'client-response-num' => 1,
                                                           'connection' => 'close',
                                                           'location' => 'http://shopware.kivitendo.de/api/media/a944aa341c594f2bbd18bcee47c5592b',
                                                           'cache-control' => 'private',
                                                           'server' => 'nginx/1.18.0 (Ubuntu)',
                                                           'access-control-expose-headers' => 'Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,fail-on-error,indexing-behavior,single-operation,sw-include-seo-urls',
                                                           'date' => 'Tue, 16 Nov 2021 13:50:09 GMT',
                                                           'client-date' => 'Tue, 16 Nov 2021 13:50:09 GMT',
                                                           'x-frame-options' => 'deny',
                                                           '::std_case' => {
                                                                             'access-control-allow-methods' => 'Access-Control-Allow-Methods',
                                                                             'client-date' => 'Client-Date',
                                                                             'x-frame-options' => 'X-Frame-Options',
                                                                             'access-control-allow-headers' => 'Access-Control-Allow-Headers',
                                                                             'client-response-num' => 'Client-Response-Num',
                                                                             'access-control-allow-origin' => 'Access-Control-Allow-Origin',
                                                                             'referrer-policy' => 'Referrer-Policy',
                                                                             'x-content-type-options' => 'X-Content-Type-Options',
                                                                             'content-security-policy' => 'Content-Security-Policy',
                                                                             'client-peer' => 'Client-Peer',
                                                                             'access-control-expose-headers' => 'Access-Control-Expose-Headers'
                                                                           },
                                                           'access-control-allow-origin' => '*',
                                                           'referrer-policy' => 'strict-origin-when-cross-origin'
                                                         }, 'HTTP::Headers' )
                                  }, 'HTTP::Response' ),
                 '_config' => {
                                'useragent' => bless( {
                                                        'requests_redirectable' => [
                                                                                     'GET',
                                                                                     'HEAD'
                                                                                   ],
                                                        'ssl_opts' => {
                                                                        'verify_hostname' => 1
                                                                      },
                                                        'max_size' => undef,
                                                        'protocols_allowed' => undef,
                                                        'timeout' => 300,
                                                        'max_redirect' => 7,
                                                        'local_address' => undef,
                                                        'def_headers' => bless( {
                                                                                  'user-agent' => 'REST::Client/273'
                                                                                }, 'HTTP::Headers' ),
                                                        'protocols_forbidden' => undef,
                                                        'proxy' => {},
                                                        'no_proxy' => [],
                                                        'handlers' => {
                                                                        'response_header' => bless( [
                                                                                                      {
                                                                                                        'owner' => 'LWP::UserAgent::parse_head',
                                                                                                        'line' => '/usr/share/perl5/LWP/UserAgent.pm:764',
                                                                                                        'callback' => sub { "DUMMY" },
                                                                                                        'm_media_type' => 'html'
                                                                                                      }
                                                                                                    ], 'HTTP::Config' )
                                                                      },
                                                        'use_eval' => 1,
                                                        'send_te' => 1,
                                                        'show_progress' => undef
                                                      }, 'LWP::UserAgent' ),
                                'host' => 'shopware.kivitendo.de'
                              }
               }, 'REST::Client' );