Skip to content

docs: add http service info - #95

Merged
hustcc merged 3 commits into
mainfrom
docs-add-http
Jun 13, 2025
Merged

docs: add http service info#95
hustcc merged 3 commits into
mainfrom
docs-add-http

Conversation

@hustcc

@hustcc hustcc commented Jun 13, 2025

Copy link
Copy Markdown
Member

You can use AntV's project GPT-Vis-SSR to deploy an HTTP service in a private environment, and then pass the URL address through env VIS_REQUEST_SERVER.

  • Method: POST
  • Parameter: Which will be passed to GPT-Vis-SSR for renderring. For example, { "type": "line", "data": [{ "time": "2025-05", "value": "512" }, { "time": "2025-06", "value": "1024" }] }.
  • Return: The return object of HTTP service.
    • success: boolean Whether generate chart image successfully.
    • resultObj: string The chart image url.
    • errorMessage: string When success = false, return the error message.

@hustcc
hustcc merged commit a810850 into main Jun 13, 2025
1 check passed
@hustcc
hustcc deleted the docs-add-http branch June 13, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant