Changes between Version 2 and Version 3 of API/FixedIp


Ignore:
Timestamp:
Sep 7, 2021, 9:05:39 AM (3 years ago)
Author:
mirek@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • API/FixedIp

    v2 v3  
    1818{{{
    1919curl -s --cert-type P12 --cert $CERT:$PASS \
    20   $URL/cgi-bin/rest.cgi/ip/92.240.162.3
     20  $URL/rest/ip/92.240.162.3
    2121}}}
    2222
     
    3232
    3333==== URI
    34 {{{$Portax::WebPath/cgi-bin/rest.cgi/ip/:ip}}}
     34{{{$Portax::WebPath/rest/ip/:ip}}}
    3535
    3636Expects UTF-8 JSON encoded data in the POST body.
     
    4646curl -s --cert-type P12 --cert $CERT:$PASS -X PATCH \
    4747  --data @data.json \
    48   $URL/cgi-bin/rest.cgi/ip/92.240.162.3
     48  $URL/rest/ip/92.240.162.3
    4949}}}
    5050