]>
Commit | Line | Data |
---|---|---|
79be833d AD |
1 | bless( { |
2 | '_content' => '{"description":"mydescription mac:da:65:8f:18:9b:6f","dns_name":"myhostname"}', | |
3 | '_headers' => bless( { | |
4 | 'authorization' => 'token 0123456789abcdef0123456789abcdef01234567', | |
5 | 'content-type' => 'application/json; charset=UTF-8' | |
6 | }, 'HTTP::Headers' ), | |
7 | '_method' => 'POST', | |
8 | '_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/prefixes/1/available-ips/')}, 'URI::http' ) | |
9 | }, 'HTTP::Request' ); |