I have a SignalR Core hub. I can connect to the same hub using clients like Postman or WebSocket King. But, I am unable to invoke a hub method that expects parameters. The same method can be easily invoked from SignalR JS client. I inspected browser developer tools and extracted the message getting transferred from client to server. When I try to invoke the same method from Postman/WebSocket King with the same message it just don't work.
Hub method:
public async Task Subscribe(string[] imeis, string group)
{
...
}
Message getting transferred from SignalR client (accessed from browser developer tools):
{"arguments":[[10001001],"ALL"],"invocationId":"0","streamIds":[],"target":"Subscribe","type":1}
From Postman/WebSocket King, sending this same message does not hit the hub method. Any suggestions?