title: Send BrokeredMessage from Postman to Azure Function
body: <p>I have an Azure Function that is triggerd from Azure Service Bus. I want to test it locally and call my running Azure Function from Postman as it is described here: <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-manually-run-non-http" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/azure-functions/functions-manually-run-non-http</a></p>
  
  <p>It seems that I manage to call my local Azure Function from Postman because I get 202 Accepted response. But in the console there is error when I make the call:</p>
  
  <pre><code>A ScriptHost error has occurred
  Exception while executing function: Functions.MyAzFunction. 
  Microsoft.Azure.WebJobs.Host: Exception binding parameter 'myBrokeredMessage'.
  Microsoft.Azure.WebJobs.ServiceBus: Unable to convert trigger to BrokeredMessage.
  </code></pre>
  
  <p>It doesn't even stop to very first row when I try to debug:</p>
  
  <pre><code>public static async Task Process(BrokeredMessage myBrokeredMessage, Binder binder, TraceWriter log)
  {
    var foo = "bar";
    // real code...
  }
  </code></pre>
  
  <p>What should I put as the body of the http request to get even to that very first row? Or something else?</p>