mirror of
https://git.proxmox.com/git/pve-network
synced 2025-08-06 10:08:38 +00:00

like almost all of our repos do nowadays, modern git can detect such things on rebase so in development stuff should be hopefully not too much affected by this. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 lines
604 B
Plaintext
10 lines
604 B
Plaintext
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' ),
|
|
'_method' => 'POST',
|
|
'_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/')}, 'URI::http' )
|
|
}, 'HTTP::Request' );
|