Ajax - JSON nicht zugestellt bekommen, in der PATCH ist nur

Ich versuche zu senden, json-Daten vom client zu meinem server:

$.ajax({
    url : 'http://127.0.0.1:8001/api/v1/pulse/7/',
    data : data,
    type : 'PATCH',
    contentType : 'application/json'
)};

Bekomme ich eine No JSON object could be decoded.
Aber wenn ich PUT das json-Objekt gesendet wird.

Es nur nicht für einen PATCH

Backend ist Django und die app im Einsatz ist tastypie

Hat Ihr browser unterstützt PATCH Methode?
Ich verwende die neueste version von chrome

InformationsquelleAutor nknj | 2012-07-12

Schreibe einen Kommentar