title: Is it possible to call a SignalR Hub from Postman
body: <p>I have an ASP .Net Core 2.2 Web API with a SignalR hub. Is it possible to call one of its methods (for example, SendMessageToAll) using Postman? The problem is that I only have the API - no frontend - and I need to test.</p>
  
  <p>I tried putting the URl to my hub in Postman (api.mydomain.com/chatHub) but then I'm not really sure how to structure the body. I know SignalR uses WebSockets preferably, and I don't know if PostMan has WebSocket functionality. I believe SignalR can also do HTTP requests if WebSockets is not available, which is something Postman can do. But what body do I use? And do I use an HTTP GET or POST?</p>
  
  <p>I saw a post where the person was using this body in Postman:</p>
  
  <pre><code>{
      "Target": "SendMessageToGroup",
      "Arguments": [
          "groupA",
          "hello from server"
      ]
  }
  </code></pre>
  
  <p>So I tried the same, but when I click "Send" on postman, the SendMessageToGroup method of my hub doesn't get triggered.</p>
  
  <p><a href="https://i.stack.imgur.com/SlNiI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/SlNiI.png" alt="enter image description here"></a></p>
  
  <p>Thanks</p>