blob: fbbafbb965977f384cde183e57d3f30187bf3009 (
plain)
1
2
3
4
5
6
7
8
9
10
|
bless( {
'_content' => '{"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/prefixes/1/available-ips/')}, 'URI::http' )
}, 'HTTP::Request' );
|