Parse on paste

This is similar to the cURL import, which is a great feature. But for much more possible fields / cases:

A “parse on paste“ feature would improve usability to a great degree. It would work like this:

  • Consider having the string “Content-Type: application/json“ in the clipboard

  • Pasting it into a Header-Name field in the Headers tab should split it into the right fields, that’s “Content-Type” as Header-Name and “application/json“ as value. Same would apply if the string starts and ends with “ or ‘

  • When creating a new HTTP requests it’s created with an empty body: Make it clickable. And allow input after click afterwards do auto detection

    • A complete cURL request which in turn trigger the importer

    • Valid JSON should change the body to Text Content: JSON

    • Valid XML should change the body to Text Content: XML

    • Valid GraphQL should change the body to Text Content: GraphQL

There are certainly other areas where some smart detection would improve usability

Please authenticate to join the conversation.

Upvoters
Status

Needs Triage

Board

Feedback

Tags

Feature

Date

11 months ago

Author

cmahnke

Subscribe to post

Get notified by email when there are changes.