I am trying to put some JSON formatted data via Ajax with [jQuery](http://en.wikipedia.org/wiki/JQuery) to a server. My code looks like this:

```
$.ajax({
    type: "PUT",
    url: myURL,
    contentType: "application/json",
    data: {"data": "mydata"}
});

```

But on the server-side, I receive a `data=mydata` string, instead of the expected JSON. [Firebug](http://en.wikipedia.org/wiki/Firebug_%28software%29) tells me the same.

Where is the error?