This gives me 500 back with the following message: There was a fatal error on the server
In stardog.log I see this error:
ERROR 2017-04-23 10:44:23,241 [Stardog.Executor-87] com.complexible.common.protocols.server.rpc.ServerHandler:exceptionCaught(401): exceptionCaughtServerHandler
java.lang.NullPointerException
ERROR 2017-04-23 10:44:23,244 [StardogServer.WorkerGroup-7] com.complexible.stardog.protocols.http.server.HttpMessageEncoder:createErrorResponse(293): The result encoder received an error message it could not encode, error was:
java.lang.NullPointerException
Our docs (and especially the apiary.io HTTP API docs) are sometimes unclear as to what the server is expecting. We are hoping to have that cleaned up for the 5.x release cycle.
Your command is very close, however the server is expecting application/x-www-form-urlencoded content, with the body consisting of url-encoded key/value pairs. So a working version of your command would be as follows: