Edit a Blob
PUT https://jsonblob.com/api/jsonBlob/{{last_created_jsonblob}}
Updating a JSON Blob is accomplished by sending a PUT
request to /api/jsonBlob/<blobId>
. The request body should contain valid JSON that the stored JSON Blob will be replaced with. Upon successfully storing the new JSON Blob, a 200
response will be returned. If no JSON Blob exists for the given <blobId>
, a 404
response will be returned. The body of the response is the JSON that was stored in the JSON Blob.
Use the Blob ID from a
Create a BlobPOST
request and append it to the URL to retrieve the JSON. Change the raw data with your new JSON before you send the request, otherwise you may accidentally delete original data. If you have recently created a blob using Qodex, the variable{{last_created_jsonblob}}
already has the blob id.
Request Body
{"sample"=>"json", "update"=>"success"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |