blob: 527c3d6b475d1cb152b0b7944be3ed6b246266b8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
bless( {
'_content' => '{"address":"192.168.0.1/24","description":null,"dns_name":"toto"}',
'_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' );
|