Example of POST vpz/input in command line with cURL

For the simulator ‘wwdm.vpz’ whose Id is 266, enter the cURL commands in a command line window.

Example illustrating :

  • compact’ as style of presentation,
  • value ‘all’ as ‘parselect’ (to receive information of all the existing parameters and conditions)
  • value ‘all’ as ‘outselect’ (to receive information of all the existing output datas and views)
  • with ‘application/json’ as ‘Content-Type’

REQUEST and RESPONSE

Memo


cURL command line :

curl -L -H "Content-Type: application/json" -d '{"vpz":266, "mode":"compact", "parselect":"all", "outselect":"all"}' http://erecord.toulouse.inra.fr:8000/vpz/input/