title: Cant get param from delete method in web API
body: <p>I have a web api server and want to implement a delete function:</p>
  
  <p>this is the function:</p>
  
  <pre><code>    public void Delete([FromBody]string identifier)
      {
          ExpressLogger.LogDebug("Enter");
          try
          {
  
  
              if (Utils.IsRmhUsed())
              {
  
                  CustomerRmhDbRepository repo = new CustomerRmhDbRepository();
                  repo.DelCustomer(identifier);
              }
              else
              {
                  //If implement function for RMS
              }
          }
          catch (Exception ex)
          {
              ExpressLogger.LogError(ex, ex.Message);
              HttpResponseMessage message = new 
              HttpResponseMessage(HttpStatusCode.InternalServerError) { Content = new S 
              tringContent(ex.Message) };
              throw new HttpResponseException(message);
          }
      }
  </code></pre>
  
  <p>I call the method from postman with the following string 
  <a href="http://10.0.0.129:5005/api/customer?identifier=000007" rel="nofollow noreferrer">http://10.0.0.129:5005/api/customer?identifier=000007</a></p>
  
  <p>The call gets to the delete method but the variable identifer is NULL
  I have tried like this to: <a href="http://10.0.0.129:5005/api/customer?000007" rel="nofollow noreferrer">http://10.0.0.129:5005/api/customer?000007</a></p>
  
  <p>I also tried to use attribute like this:</p>
  
  <pre><code>[Route("{identifier}")]
  </code></pre>
  
  <p>When i do that it wont even 'go in the the method" Delete.</p>
  
  <p>What can be wrong? Why cant i get the value from the variable identifier ?</p>