4 ms·
My favorite testing HTTP Client is still just the IntelliJ built-in, pure text. You know exactly what you send without having to navigate menus and whatnot. In
by duiker101 4y ago
My favorite testing HTTP Client is still just the IntelliJ built-in, pure text. You know exactly what you send without having to navigate menus and whatnot. In the end, 99% of HTTP requests are just that, text.
- philliphaydon 4y agoCan you chain requests together? Like if a request requires auth it will invoke login then take the token for use in the next request.
- kozziollek 4y agoI haven't used it myself, but there is an option to parse responses with JavaScript and set variables. GET https://httpbin.org/get > {% client.global.set("my_cookie", response.headers.valuesOf("Set-Cookie")[0]); %} https://www.jetbrains.com/help/idea/exploring-http-syntax.html#response-handling https://www.jetbrains.com/help/idea/exploring-http-syntax.ht...
- philliphaydon 4y agoInteresting. I have 2 endpoints (login and get settings) I use for testing in a desktop app and sometimes firing up insomnia for that project is a hassle. But rider has that rest client too so maybe I’ll try it for this one thing.
- onetom 4y agoWell... that's called programming, no? :)
- gempir 4y agoThis is what I wish all http clients could adopt. Use plain text files (IntelliJ already introduced .http files, which work great) Sadly it will never work because that would break 90% of the incentives to pay, which his having a sync system. Because then I could simply commit my http requests and git would be my sync server. Personally I don't like the IntelliJ Client, the UI is kind of ugly and requires a lot of actions each time I want to send and review a response. Insomnia is way better in that regard. Good context might me my issue comment on Hoppscotch: https://github.com/hoppscotch/hoppscotch/issues/870#issuecomment-719629375 https://github.com/hoppscotch/hoppscotch/issues/870#issuecom...
- pletnes 4y agoAnd it fits nicely into git!
- hbagdi 4y agoI have been working on a CLI first workflow that doesn’t require IntelliJ: https://hit.yolo42.com/ https://hit.yolo42.com/. I spend my days in the terminal and like curl and httpie for most parts. Hit is to fill in the gaps rather than redo the whole experience of sending HTTP requests. I’ve a very early prototype. If you get a chance to try it out, please do and share your feedback.
- jicea 4y agoI can't resist to propose my own solution: a cli tool, plain text based, curl, and Rust https://hurl.dev https://hurl.dev The market is overcrowded by good solutions, best wishes to other tools!
- deleted 4y ago[deleted]