Google 스프레드 시트를 Google 워드 프로세서 api로 만들고 싶습니다. 문서를 변환 할 수 없습니다.라는 오류 메시지가 나타납니다.Google 스프레드 시트를 Google 문서로 생성
$xml = "--END_OF_PART\r\n".
"Content-Type: application/atom+xml;\r\n\r\n".
"<?xml version='1.0' encoding='UTF-8'?>
<entry xmlns=\"http://www.w3.org/2005/Atom\" xmlns:docs=\"http://schemas.google.com/docs/2007\">
<category scheme=\"http://schemas.google.com/g/2005#kind\"
term=\"http://schemas.google.com/docs/2007#spreadsheet\"/>
<title>".$name."</title>
</entry>\r\n".
"--END_OF_PART\r\n".
"Content-Type: text/csv;\r\n\r\n".
"--END_OF_PART--\r\n";
이 XML 그럼 내가 오류가 발생했습니다 사실 PARAM 변환 =과 게시물과 구글의 서버로 전송 : 문서를 변환 할 수 없습니다. 'text/csv'대신 mime-type 'application/vnd.oasis.opendocument.spreadsheet'를 사용하고 param convert = true를 추가하지 않으면 내부 오류가 발생합니다.