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
{{ message }}
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.
So I want to load into Blast using my own go RESTful client code.
In your example
$ cat ./example/document_1.json | xargs -0 ./bin/blast put document --request
I see we are doing a PUT to 0.0.0.0:8000/rest/ID where ID is the ID of the document.
However, how is the JSON document sent in that PUT command? Is this a BODY only or is there an association that needs to take place. I have used the HTTPie package with
http -v -j PUT 0.0.0.0:8000/rest/1 @sodataset.json
but it comes back 400 bad request. If we are using HTTPie or curl what would a PUT command look like?
I'm trying to load 50K JSON-LD documents (schema.org) from Minio into Blast.
Thanks!
Doug
The text was updated successfully, but these errors were encountered:
So I want to load into Blast using my own go RESTful client code.
In your example
I see we are doing a PUT to 0.0.0.0:8000/rest/ID where ID is the ID of the document.
However, how is the JSON document sent in that PUT command? Is this a BODY only or is there an association that needs to take place. I have used the HTTPie package with
but it comes back 400 bad request. If we are using HTTPie or curl what would a PUT command look like?
I'm trying to load 50K JSON-LD documents (schema.org) from Minio into Blast.
Thanks!
Doug
The text was updated successfully, but these errors were encountered: