See https://github.com/ziolko/spreadapi/blob/master/spread-api.j...
As an example:
curl -L \ --data '[{ "method": "POST", "sheet": "Sheet1", "payload": { "username": "John", "age": 25 } }, { "method": "GET", "sheet": "Sheet1" }]' \ "https://script.google.com/macros/s/$APP_ID/exec"