Basic curl rest testing

linux

curl -X DELETE http: //localhost: 12000/samples/1

curl -H Content-Type: application/json -d '{name”: sample-name,notes”: sample-notes}' http: //localhost: 12000/samples/

url -X PUT -H Content-Type: application/json -d '{id: 2,name: sample-name33333333,notes: sample-notes}' http: //localhost: 12000/api/samples/