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