This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Description
both
|
-- curl -v http://localhost:8081/req/base -X POST -H Content-Type:application/json --data-binary '{"ideParams":{},"ideCommand":"version","ideContext":{"ctxEndPos":null,"ctxCabal":null,"ctxStartPos":null,"ctxFile":null}}' |
and
https://github.com/haskell/haskell-ide-engine/blob/f99b6f520856c9f4230234d06bb8185bdabc484a/docs/Hacking.md seems to refer to an old implementation of the http rest interface.
curl -v http://localhost:8081/req/base -X POST -H Content-Type:application/json --data-binary '{"ideParams":{},"ideCommand":"version","ideContext":{"ctxEndPos":null,"ctxCabal":null,"ctxStartPos":null,"ctxFile":null}}'
gives
invalid request body: key "command" not present%