Returns a rendered diagram image by combining the diagram type from the URL path with the source code sent in the request body. Use this for simpler requests where the diagram type is known upfront and you want to send raw text instead of JSON.
From spec: Create a diagram by sending diagram source as plain text. Output format is determined by Accept header.
Usage Tips
- Diagram type is specified in URL (e.g., /graphviz, /mermaid, /plantuml)
- Send diagram source as raw text in request body
- Output format defaults to SVG
- Simpler than JSON API for basic use cases