shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/aqlfunction {"name":"myfunctions::temperature::celsiustofahrenheit","code":"function (celsius) { return celsius * 1.8 + 32; }"} HTTP/1.1 201 Created content-type: application/json; charset=utf-8 { "error" : false, "code" : 201 }