firecamp icon indicating copy to clipboard operation
firecamp copied to clipboard

[bug]: Params not sent to the server correctly in websocket playground

Open ccavolt opened this issue 1 year ago • 1 comments

Describe the bug Params aren't sent to the server properly.

To Reproduce In the websocket playground I use the following URL:

ws://localhost:4000/socket/websocket?vsn=2.0.0

When I send the request via Postman (or Insomnia/Hoppscotch), vsn=2.0.0 is received by the server and I get the following response:

Transport: :websocket
Serializer: Phoenix.Socket.V2.JSONSerializer
Parameters: %{"vsn" => "2.0.0"}

When I send the request via Firecamp, I get the following response:

Transport: :websocket
Serializer: Phoenix.Socket.V1.JSONSerializer
Parameters: %{}

Which indicates the params either didn't make it to the server or are malformed.

Expected behavior The server will receive the params.

Desktop (please complete the following information):

  • OS: Browser is Windows, server is running Ubuntu 22.04.4 LTS
  • Browser: Chrome
  • Version: 125.0.6422.142

ccavolt avatar Jun 05 '24 14:06 ccavolt

I am having the same problem.

warnes avatar Apr 18 '25 17:04 warnes