Skip to content

Import > Paste Raw Text cURL --data-raw not import to bodyraw #7895

@wrssmi

Description

@wrssmi

Body - raw not filled with data after import

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Import > Paste Raw Text cURL'
  2. Use following curl
    curl --location --request POST "https://sample.com" --header "Content-Type: application/json" --data-raw "{ \"details\": { \"id\": \"11\", \"sample\": { \"name\": \"ankit\" } } }"
  3. Body is not filled (see Screenshot)

Expected behavior
Should be the same as with that curl (see Screenshot)
curl --location --request POST "https://sample.com" --header "Content-Type: application/json" --data "{ \"details\": { \"id\": \"11\", \"sample\": { \"name\": \"ankit\" } } }"

Screenshots
Successfull with -data
image

Not Successfull with -data-raw
image

App information (please complete the following information):

  • Postman Version 7.14.0
  • OS: Windows 10

Context
Generate Code Snippet creats --data-raw

image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions