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