Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import a standard http request in postman?

Tags:

postman

I have a simple HTTP request :

POST /a/b/c HTTP/1.1
Host: localhost:17814
Content-Type: application/json
jwt: x.x.x

{
    "requestId": "E1EC8B9E-A78E-443A-B2A9-8D6F7692B63C"
}

I don't have another format. It's a basic HTTP standard request structure.
I want to invoke it in Postman.

But it seems that when I try to "Import" it in postman it says :

enter image description here

Question:

Is there any way to import standard HTTP requests in postman? there must be. it's the standard syntax

like image 300
Royi Namir Avatar asked Mar 09 '26 16:03

Royi Namir


1 Answers

The Import feature only supports certain formats.

Import a Postman Collection, Environment, data dump, curl command, or a RAML / WADL / Open API (1.0/2.0/3.0) / GraphQL Schema / Runscope file

I guess that would be something this in curl:

curl -X POST 'localhost:17814/a/b/c' \
-H 'jwt: x.x.x' \
-H 'Content-Type: application/json' \
-d '{
    "requestId": "E1EC8B9E-A78E-443A-B2A9-8D6F7692B63C"
}'

You can import that format into the app and it should create the request.

like image 84
Danny Dainton Avatar answered Mar 11 '26 10:03

Danny Dainton



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!