blob: d3bc1addbdea377405310fdd4c9e739bb7cee3b0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
bless( {
'_content' => '{"address":"10.0.0.1/24","description":"gateway","dns_name":"myhostname"}',
'_headers' => bless( {
'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
'content-type' => 'application/json; charset=UTF-8'
}, 'HTTP::Headers' ),
'_max_body_size' => undef,
'_method' => 'PATCH',
'_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/1/')}, 'URI::http' )
}, 'HTTP::Request' );
|