---
title: "Store raw file blob"
method: POST
path: "/fs/blob"
---

# Store raw file blob

`POST /fs/blob`

## Request

- Base URL: `http://localhost:21721`
- URL: `http://localhost:21721/fs/blob`
- Auth: HTTP bearer

Stores arbitrary binary data in a blob such that it can be used later on to for example write to a remote file.

This will return a uuid which can be used as a reference to the blob.
You can also store normal text data in blobs if you intend to create text or shell script files with it.

## Request body `application/octet-stream`

- string, binary

## Response `200`

The operation was successful. The data was stored.

- FsBlobResponse
  - `blob` string, required: The data uuid

## Other responses

- `400`: Bad request. Please check error message and your parameters.
- `401`: Authorization failed. Please supply a `Bearer` token via the `Authorization` header.
- `403`: Authorization failed. Please supply a valid `Bearer` token via the `Authorization` header.
- `500`: Internal error.

---

[API](https://skmtc.dev/xpipe/apis/xpipe-api-documentation.md) - [All operations](https://skmtc.dev/xpipe/apis/xpipe-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/xpipe/apis/xpipe-api-documentation/revisions/cc0e84caab21?raw)
