---
title: "POST /upload-topic-pic"
method: POST
path: "/upload-topic-pic"
tags: ["Topic API"]
---

# POST /upload-topic-pic

`POST /upload-topic-pic`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/upload-topic-pic`
- Auth: none declared

upload topic picture

## Request body `application/x-www-form-urlencoded`

- object
  - `pic` string, required: the picture base64 code

## Response `200`

The Response object

- ControllersResponse

## Changes

- **2026-07-17** `c21c4387b897`: 2 info
  - api tag `Topic API` added
  - api tag `github.com/casbin/casnode/controllersApiController` removed
- **2021-06-17** `023a7e383f67`: 2 info
  - api tag `github.com/casbin/casnode/controllersApiController` added
  - api tag `Topic API` removed

[Operation history](https://skmtc.dev/casdoor/apis/casdoor-casnode-api/changes/upload-topic-pic/post.md)

---

[API](https://skmtc.dev/casdoor/apis/casdoor-casnode-api.md) - [All operations](https://skmtc.dev/casdoor/apis/casdoor-casnode-api/llms.txt) - [OpenAPI document](https://skmtc.dev/casdoor/apis/casdoor-casnode-api/revisions/96a96feb975e?raw)
