Very basic browser-based interface to the PureScript compiler.
POST /compile/text
- Request body: PureScript code
- Response body: Either
{ js: "..." }or{ error: "..." } - Status code: 200 (success)
The response does not use error codes, to make it easier to use the API from another domain using CORS.