POST-Anforderung an die Picasa-API

Ich habe Probleme mit POST auf der Picasa-API. Hier ist Code:

$.ajax({
    type: "POST",               
    url: 'https://picasaweb.google.com/data/feed/api/user/' + uid + '/albumid/' + album_id + '/photoid/' + photo_id,
    crossDomain: true,
    data: { content: content },
    success: function() { alert("Success"); },
    error: function() { alert('Failed!'); }
});

Ich habe bereits einige Informationen über GET ohne Probleme abgerufen.

Jetzt kommt der lustige Teil, wenn ich versuche, den Dienst mit Google zu testen, tritt dieser Fehler auf:

 XMLHttpRequest cannot load
 https://picasaweb.google.com/data/feed/api/user/userid/albumid/albumid/photoid/photoid?content=foo%bar.
 Origin http://localhost:3000 is not allowed by
 Access-Control-Allow-Origin

.

Und wenn ich es in Firefox versuche, wird die Anforderungsheader-Methode in geändertOPTIONS und Status ist204: no content.
Ich habe auch versucht, mich zu änderndatatype zujsonp aber dann ändert sich die HTTP-Methode zuGET und es ruft Informationen über das Bild ab.

Antworten auf die Frage(1)

Ihre Antwort auf die Frage