How to make real/working calls to subscription-queries within Java

What I seem to understand from Python samples … WebSockets are needed.
Has anyone got a sample for that ?

Here’s the sample postman collection:

https://www.postman.com/spacecraft-geologist-86385692/workspace/bitquery

Thanks for the feedback!
.addHeader(“Sec-WebSocket-Protocol”, “graphql-ws”)
Was vital in defining a Request in Java … so my problem is solved.
have a great day!

1 Like