blob: a3cc70c735f79692bc17d91bc903ad4cd36004f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
bless( {
'_content' => '{"description":"mydescription","hostname":"myhostname","is_gateway":1,"mac":"da:65:8f:18:9b:6f"}',
'_headers' => bless( {
'::std_case' => {
'token' => 'Token'
},
'content-type' => 'application/json; charset=UTF-8',
'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/1')}, 'URI::https' )
}, 'HTTP::Request' );
|