I am trying to load a PDF file into my WebAPI method, but I am getting 415 unsupported media type. Do I need to put something specific in my WebApiConfig.cs file to enable PDF formatting?
Here is the signature for my controller code:
[HttpPost]
public HttpResponseMessage SavePdf(HttpPostedFileBase file)
{
string fileLocation = @"\\server\shared\appname\";
...
My WebAPI is currently hosted on localhost. I call this method WebAPI from Fiddler. Here's the Composer tab of Fiddler (then I click on the “Blue Upload File” link to download my PDF file):

This is where HTTP 415 error occurs in Fiddler:

It seems to me that I need to somehow say that my WebAPI accepts the type of PDF media file (application / pdf), but I'm not sure ... any ideas?