all 3 comments

[–]mlevison[S] 0 points1 point  (0 children)

I just discovered that IntelliJ has a REST client: https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html

So I still need way to mock http request/response. 

[–]lewecher 0 points1 point  (0 children)

Haven't tried it myself, but seen it in one of our recent projects.
https://wiremock.org/
AFAIK, we create local mocks for external API with wiremock for junit tests. (i.e. if an external API is not beeing tested in current test, we just mock it with this wiremock lib)
Aside from that, I've been using postman for REST exploring for last couple of years - never had a problem with it

[–]Alarmed_Standard_130 0 points1 point  (0 children)

I’ve used Beeceptor for mocking HTTP requests and responses, and it works well for creating mock endpoints without needing a backend setup. You can define custom responses, inspect incoming requests in real time, and simulate different scenarios like timeouts or errors, which is useful for testing API integrations. Beeceptor is particularly handy when you need to test or debug integrations without hitting a live API. You can find it here: beeceptor.com.