postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.84k stars 839 forks source link

Feature request: Support for streamed responses #5040

Closed jimonthebarn closed 8 months ago

jimonthebarn commented 6 years ago

With the advent of reactive streaming API's the handling of streamed responses becomes more and more important. Therefore I would love for postman to be able to handle streamed responses when setting the accept - header to application/stream+json or text/event-stream instead of the currently displayed 'Syntax error".

The response window could probably be updated when a new chunk of data comes in just like curl or httpie (with the --stream option) does. This probably needs a lot more thinking conceptually since it greatly differs from the way how responses are currently displayed in the response pane.

For the time being postman could wait for the stream to finish and output the result all at once just like httpie does when not started with the --stream parameter.

The alternative solution is currently to use curl or httpie which works but I'd love to be able to do this in my beloved postman. 😁

yuhongsun96 commented 1 year ago

+1

adriano515 commented 1 year ago

+1

fsepulveda commented 1 year ago

+1

1dustycy commented 1 year ago

+1

diegoquezadac commented 1 year ago

+1

j0hannr commented 1 year ago

+1 🏄‍♂️

emilypyq commented 1 year ago

+1

bhardwaj-nakul commented 1 year ago

+1

sh-git-repo commented 11 months ago

+1, definitely needed

saket-ranjan-010 commented 11 months ago

Hi folks, happy to announce that we now support SSE in Postman! Please check out the detailed announcement blog here and let us know what you feel about the experience.

Additionally, you can check out this Youtube video by us on how to use SSE in Postman to get up and running quickly: https://youtu.be/KrE044J8jEQ.

vinogradoff commented 8 months ago

Now as we have Postman support for SSE (text/event-stream), can we go for JSON Streaming (application/x-ndjson) support as well?

Should a separate Feature Request be created?

saket-ranjan-010 commented 8 months ago

Hi there @vinogradoff , it would be great if you can create another feature request for supporting JSON streaming responses in Postman. It's easier for us to track and manage the feature requests that way. Thanks!