How to make an HTTP PUT with a param to a WebAPI?

I am trying to make an HTTP PUT with an integer parameter to a MVC WebApi.

I am trying to follow the angular 2 guidlines for HTTP PUT: https://angular.io/docs/ts/latest/guide/server-communication.html

My WebApi:

public IHttpActionResult Put([FromBody]int id)
{
   return Ok();
}

My Http PUT in my service in my ionic 2 app:

makePut(){
    let body = JSON.stringify({id:155320});
    let headers = new Headers({ 'Content-Type': 'application/json' });
    let options = new RequestOptions({ headers: headers });
     return new Promise(resolve => {
      this.http.put('API_URL', body, options)
        .subscribe(
          response => {
            console.log(response.text());
          },
          error => {
            //Failed to Login.
            alert(error.text());
            console.log(error.text());
          });
     });
 }

And finally the call to my service from my page:

this.service.makePut().then(data => {console.log(data);});

When I run this I get a 405 method not allowed. Is there anything I am missing?

Found the solution to my problem: http://stackoverflow.com/questions/38589687/how-to-make-an-http-put-with-a-param-in-an-ionic-2-app-to-a-webapi?noredirect=1#