This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function doGet(e) | |
var json; //jsonのデータを格納しておく | |
var output = ContentService.createTextOutput(); | |
output.setMimeType(ContentService.MimeType.JSON); | |
output.setContent(jsonp); | |
return output; |
- ATOM
- JSON
- CSV
- ICAL
- RSS
- VCARD
- XML
といったフォーマットを指定することができるので、いろいろなタイプのウェブサービスが実装できると思います。
0 件のコメント:
コメントを投稿