curl-to-postman icon indicating copy to clipboard operation
curl-to-postman copied to clipboard

Missing information how to install and run it

Open misiekofski opened this issue 4 years ago • 10 comments

I would like to use it, but don't know what to do. Cloned repo, did npm install and then what?

misiekofski avatar Mar 23 '20 12:03 misiekofski

Readme shows ./curl2postman but no idea where I would run that. Project route contains no such binary and no instructions on how to install

SammyMohamed-FD avatar Jan 27 '21 15:01 SammyMohamed-FD

That seems like an interesting tool. I found it through postman's blog. Unfortunately I can only agree: how the hell are we supposed to use it? The readme doesn't help at all.

louisremi avatar Feb 22 '21 14:02 louisremi

Agreed that this Readme needs some work, in the meantime you can use Postman directly to convert a curl command to a Postman request, then export it if you want to have it as a JSON file.

importcurl

arlemi avatar Feb 23 '21 11:02 arlemi

Thanks @arlemi! I googled "postman test curl" and the first result is an old blog post from 2016 that points to this repo. It seems you now have a better way tu use cURL right in postman. Maybe you could update that blog post to reflect that?

louisremi avatar Feb 23 '21 12:02 louisremi

in the meantime you can use Postman directly to convert a curl command to a Postman request

The problem I was trying to solve was running that import for 2k+ curls (don't ask me how I got there) ;) Pasting manually to Postman was (and still is) not an option. I thought this repo would help me

@louisremi That blog misses... a lot of info indeed haha. Good catch, we'll get that updated!

@michal-dobrzycki-coderslab Indeed, probably don't want to do it one-by-one, I found that package that you can use to convert several curl commands into one collection: https://github.com/bhargavkaranam/multiple-curl-to-postman

  • clone the repo
  • run npm install
  • run node index.js curl1 curl2 curl3...

arlemi avatar Feb 24 '21 09:02 arlemi

I have a few examples for this repo! I'll open a PR and list them in README.md

nimit2801 avatar Apr 11 '21 21:04 nimit2801

It was my 1st try at making a api for NOW token/wallet

MrGitHumbug avatar Apr 12 '22 08:04 MrGitHumbug

If you would like fresh copy's look up NOW token API

MrGitHumbug avatar Apr 12 '22 11:04 MrGitHumbug

I had no idea what I was doing. Just followed a how to guide, badly written. Sorry to disappoint but it's for NOW token not trust wallet. I just had some stored in my trust wallet. As in the native wallet to ChangeNOW exchange

MrGitHumbug avatar Apr 12 '22 11:04 MrGitHumbug