Nim's cgi module seems to assume the body of a CGI request will be multipart but I want it to be JSON (for JSON-RPC). How do I get the body of a post request as a string and parse it to JSON?
Can you share a code example? I've never done multipart with cgi in nim, but you maybe can just send a multipart msg from the browser and in one part you send json.