Avatar of sukhoi35
sukhoi35 asked on

Replicating a curl command on Windows

Hello Experts,

I am required to run a curl command from a windows machine. I am trying to replicate the same through Postman by building the request. The curl command looks like:


curl -v -X GET "https://sample.cloud.com" -H "accept:application/hal+json" -H "Authorization: xxxxxx" - "Content-Type: application/json" -H "key: yyyyyy"


I have the below Postman request, however not sure if just adding all the -H above as header would suffice. Please let me know if the request I have built relates to the above curl command. Any inputs appreciated, thanks.


Java* postman* CurlLinuxHTTP Protocol

Avatar of undefined
Last Comment
Gerwin Jansen

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Chinmay Patel

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Gerwin Jansen

Assuming you already have cURL for Windows, if not: https://curl.se/windows/
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23