---
title: "Render an uploaded DXF drawing to an image"
method: POST
path: "/render"
---

# Render an uploaded DXF drawing to an image

`POST /render`

## Request

- Base URL: `https://aspicio-api.frontsail.app`
- URL: `https://aspicio-api.frontsail.app/render`
- Auth: none required

Same as GET /render, but the DXF file is the request body.

## Query parameters

- `space` string
- `format` 'png' | 'svg'
- `width` integer
- `bg` string

## Response `200`

The rendered image

## Other responses

- `400`: Bad input (space, format or bg invalid, empty body)
- `413`: DXF exceeds the 8 MB limit
- `422`: The file could not be parsed as DXF
- `429`: Rate limit exceeded (per client IP)

---

[API](https://skmtc.dev/frontsail/apis/aspicio-dxf-and-pdf-api.md) · [All operations](https://skmtc.dev/frontsail/apis/aspicio-dxf-and-pdf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/frontsail/apis/aspicio-dxf-and-pdf-api/revisions/4a240a4a33d3?raw)
