Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/11/2011, 22:12
Avatar de juanito1712
juanito1712
 
Fecha de Ingreso: mayo-2010
Ubicación: Valencia
Mensajes: 1.124
Antigüedad: 14 años
Puntos: 66
Respuesta: upload txt con el api de googledocs

poco a poco almenos me voy dando cuenta que es lo que no entiendo

In all scenarios, clients must send an HTTP POST request to the resumable-create-media link of the resources feed. To acquire this link, clients query https://docs.google.com/feeds/default/private/full. It is recommended that clients not hard-code this link, in case the link changes. In the following sections, this link is referred to as [resumable-create-media link].


<link rel="http://schemas.google.com/g/2005#resumable-create-media" type="application/atom+xml"
href="https://docs.google.com/feeds/upload/create-session/default/private/full"/>



como se supone que debo tratar eso aqui?
POST [resumable-create-media link]
Content-Length: 359
Content-Type: application/atom+xml
X-Upload-Content-Length: 0


a lo máximo que llego es esto
$link='https://docs.google.com/feeds/upload/create-session/default/private/full';
$headers = array(

"Authorization: GoogleLogin auth=" . $_SESSION['auth'],
"GData-Version: 3.0",
"Content-Length: 359",
"Content-Type: application/atom+xml",
"X-Upload-Content-Length: 0",
);