We have encoded Stream api key by base64(RFC4648) and passing a query parameter as timepoint(also tried without timepoint). but we are getting error as below.
Hi @ebrian101 - I used your reply to try a streaming test, thanks for posting this it got me connected (I think - I used the filings endpoint) - the status on Postman is ‘Status: 200 OK’ the time clock is running but I cannot see any data being returned on the screen - could you add anything that may help point me in the right direction?
At some times of day (outside of office hours) there are very few events on the streams so you might not receive anything. You can use https://companies.stream to check if there are currently events coming through.
To connect via postman, I had to wait about 30 seconds for the response to show. (for some reason it doesn’t appear to show the response while its still receiving new data, which with the streaming api is always).
Using cURL may be easier:
Hi @ebrian101, thanks for replying – I did use Curl and got it working with data being sent – thanks for that.
On the Postman forum I did read this reply from – ‘postman-staff commented on Dec 20, 2021’
‘At the moment we (postman) do not support a fully streamed response.’
And from the text in linked updates, it looks likely that Postman will only display data when the stream ends, or there’s a big enough gap in the data updates, presumably in the filings option that is never as it’s constantly updating and perhaps why I’m connected on Postman but not seeing any data displayed!
It looks likely that Postman will add a full streaming solution under Feature request: Support for streamed responses #5040, but as of 10 days ago (the last update on that post) – this is still on their future development list.