Skip to content

POST query with upgrade to websocket? #679

@spinus

Description

@spinus

I'm trying to do exec in kubernetes (to execute command in a pod). To do that, I need to make a POST query (with params) and upgrade that connection to listen on websocket and wait for events.
Is it possible to do that in aiohttp, if yes, how I can do that?

I tried to pass url with params to ws_connect method and looks like connection is upgraded correctly, but probably there are some issues becasue ti's not POST request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions