The Poster API supports the HTTP POST method for submitting custom sector data for rendering. Three variations are supported:
- POST text/plain Content
- POST File Attachment
- POST Form Data
sector - sector name, URL encoded (required)
scale - scale in pixels/parsec (default is 64)
subsector - subsector index (A-P) (optional; if not specified, whole sector is rendered)
rotation - rotate the image, 1 for 90° clockwise, 2 for 180°, 3 for 90° counterclockwise
options - rendering style options
POST text/plain Content
This cannot be done through a Web page except via XMLHttpRequest, which doesn't make a distinct demo than the examples below. However, it is the simplest format for most HTTP clients to work with.
- POST with encoding type "text/plain"
- Sector data is specified the content
- Options specified in the URL query
- Only sector data (.SEC) is supported, not metadata (borders, etc)