mirror of
https://git.proxmox.com/git/pve-network
synced 2025-04-28 18:47:10 +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>
13 lines
837 B
Plaintext
13 lines
837 B
Plaintext
bless( {
|
|
'_content' => '{"description":"mydescription","hostname":"myhostname","ip":"10.0.0.1","is_gateway":1,"mac":"da:65:8f:18:9b:6f","subnetId":1}',
|
|
'_headers' => bless( {
|
|
'::std_case' => {
|
|
'token' => 'Token'
|
|
},
|
|
'content-type' => 'application/json; charset=UTF-8',
|
|
'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
|
|
}, 'HTTP::Headers' ),
|
|
'_method' => 'POST',
|
|
'_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/')}, 'URI::https' )
|
|
}, 'HTTP::Request' );
|