Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
iconfalse

The following are

Excerpt

 Examples of POST, DELETE, PUT, GET, PATCH, and Operations.


POST 

Code Block
languagebash
curl -i -X POST -k -u username:userpassword -s https://10.54.153.148/api/config -H "Content-type:e application/vnd.yang.datastore+xml" --data '<addressContext><name>ADDR_CONT_1</name></addressContext>' 

...

Code Block
languagebash
request system serverAdmin papaya restart
curl -u username:userpassword-X POST  -i -s http://localhost:8008/api/running/system/serverAdmin/papaya/_operations/restart -H "Content-type: application/vnd.yang.data+xml" --data '<restart></restart>'

 


JSON Examples - click link to open

Children Display