Skip to content

Auto-parse curl command when pasted into URL field #953

@ShashwatXD

Description

@ShashwatXD

Tell us about the task you want to perform and are unable to do so because the feature is not available

When working with APIs, I often have curl commands available (from backend teams, docs, or logs). While API Dash has curl parsing through the import dialog, pasting directly into the URL field treats it as plain text. It would be faster if pasting a curl command into the URL field automatically detected and parsed it, populating all request fields instantly,similar to Postman's behaviour.

This makes importing existing curl commands time-consuming and error-prone compared to tools like Postman.

Describe the solution/feature you'd like us to add

Add automatic curl command parsing when a user pastes a curl command into the URL field.

When a curl command is detected on paste:

  • Parse the curl using the existing CurlIO parser
  • Automatically populate request method, URL, headers, query parameters, body, and form data
  • Replace the URL text field content with only the parsed URL (not the full curl command)
  • Show a user-friendly error message if the curl command is invalid

This behavior should be limited to REST API requests and should not trigger during normal typing.

Any other feedback you would like to provide regarding the site

This feature would significantly improve developer experience and bring API Dash closer to the
workflow users expect from modern API clients like Postman, especially for quickly importing
existing requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions