Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.3k stars 1.93k forks source link

Support GraphQL subscriptions via WebSocket #6055

Open XChikuX opened 1 year ago

XChikuX commented 1 year ago

Expected Behavior

I want to be able to connect to GraphQL subscriptions via insomnia.

Actual Behavior

I get 403 Forbidden errors

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

As far as I am aware, javascript clients use the apollo graphql client to send and receive over a websocket (wss://url.com/graphql)

connection.

This would be amazing to support for insonmia as there is a gap in testing from the client for this feature.

Insomnia Version

2023.2.2

What operating system are you using?

Windows

Operating System Version

Windows 11

Installation method

Download from official website

Last Known Working Insomnia version

No response

marcodali commented 1 month ago

It would be great to support the web socket link that appsync provides like this:

wss://<app-id>.appsync-realtime-api.<region>.amazonaws.com/graphql

XChikuX commented 3 days ago

Adding request for "SSE" support now that it is in the roadmap for GraphQL as well.