You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ curl -i -X POST -F "data=@test" "http://localhost:5001/api/v0/object/put&inputenc=json"
HTTP/1.1 400 Bad Request
Access-Control-Allow-Headers: X-Stream-Output, X-Chunked-Output, X-Content-Length
Access-Control-Expose-Headers: X-Stream-Output, X-Chunked-Output, X-Content-Length
Content-Type: application/json
Server: go-ipfs/0.4.0-dev
Trailer: X-Stream-Error
Date: Tue, 15 Mar 2016 17:44:45 GMT
Connection: close
Transfer-Encoding: chunked
{"Message":"This command can't be called directly. Try one of its subcommands.","Code":1}
This should work, or it should at least display an error specified in ipfs object put, not the default error as if I was using ipfs object alone in the API. What's happening here?
This should work, or it should at least display an error specified in
ipfs object put
, not the default error as if I was usingipfs object
alone in the API. What's happening here?Discovered during documenting in ipfs-inactive/http-api-spec#32.
The text was updated successfully, but these errors were encountered: