There's no "json" parameter :-( Use, for example: curl -d 'json={"classes": [{"attrs":[], "methods":[], "name": "Hi World"}]}' -d 'ontology="OWL 2 ONTOLOGY HERE" http://host.com/spaqldl/run.php