Skip to content

feature request: Save Body As File #183

Description

@kristopherbullinger

Motivation:
Users may benefit from being able to open non-human readable response bodies with other programs, such as an image viewer or database.
Users may benefit from being able to view human-readable response bodies in text editors with syntax highlighting and other modern features enabled.

Feature summary:
I propose adding an option on the Response Body panel which prompts the user to specify a file name, populated by default with the final segment of the request path, and saves the body into a file with that name upon confirmation by the user.

Proposed workflow:

  1. user makes request to https://myapi.com/cat.png
  2. body appears as byte sequence in the Response Body panel
  3. user navigates to the Result Body panel, presses a button to initiate the "save locally" flow
  4. a modal appears: "Save Body To File? Filename: cat.png"
  5. the user may edit the filename
  6. press ESC to cancel or Enter to save the file

Thank you for your consideration.

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

    featureNew behavior to enable things that were previously not possible

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions