Skip to content

Create REST request flow (all HTTP methods, body, headers) — CLI & TUI #4

Description

@syncended

Goal

Support the full flow of authoring a REST request and sending it. Must work in both interfaces:

  • CLI — non-interactive command(s) for scripting / one-shot use
  • TUI — interactive screens for building a request step by step

Scope

  • All standard HTTP methods: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
  • Request URL (with path / query parameters)
  • Headers (add / edit / remove, multi-value)
  • Body:
    • raw (text / JSON)
    • form-urlencoded
    • multipart/form-data (incl. file uploads)
  • Sending the request and displaying the response (status, headers, body)

Out of scope (separate issues)

  • Saved/named requests, collections, environments
  • Auth helpers (Bearer, Basic, OAuth)
  • Scripting / pre-request hooks
  • TUI main screen layout — tracked in its own issue

Acceptance criteria

  • A user can compose and send a request with any of the listed methods from the CLI.
  • A user can compose and send the same request interactively in the TUI.
  • Both interfaces share the underlying request model / executor (no duplicated logic).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions