Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 15:15
376b692

Added

  • Streaming responses: Server-Sent Events and NDJSON are shown live, each event with
    its arrival time, type and id. The timeout stops at the headers, Esc stops the
    stream and keeps what arrived, and History keeps it. Test subjects events and
    event[i] / event[i].json.path. run follows streams until -stream runs out.
  • GraphQL: a GraphQL body type with Query and Variables editors, sent as JSON (or in
    the URL for GET). F6 browses the schema by introspection and writes a query with
    variables for a field. Code snippets, curl import/export and Postman's graphql body
    mode all handle it.
  • WebSocket requests (WS in the method dropdown): connect with params, headers and
    auth in the handshake, send the Body tab as messages, and watch a live sent/received
    log; tests run on the received messages when the connection ends. run connects,
    sends and collects replies for CI. Snippets in JavaScript, Python, Go and websocat.
  • term-rest-client demo serves a local demo API (httpbin-like, plus SSE, GraphQL and
    WebSocket) that the sample workspace's Local environment points at, so the samples
    and the documented commands work offline with -data demo.json.
  • run explains unknown names: it lists the workspace's environments, suggests close
    request and folder paths, and points at the sample workspace when the path is one of
    its requests. -env global / globals mean the global variables, like none.
  • Sample "API Types" collection: GraphQL (countries API), SSE (Wikimedia live edits)
    and WebSocket (Postman echo).