Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I did something similar as well. But instead curling from files I've been using http-files.

Depending on which project I'm working on (and customer), I'll be using different tools to run em.

But to show you an easy example to follow, you could check out this jetbrains cli tool https://blog.jetbrains.com/idea/2022/12/http-client-cli-run-...



I think it's just the nature of how I use APIs. I do discovery with curl then just write a golang CLI for long term use. I'd probably save a lot of boilerplate using something like http-files though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: