Giter Site home page Giter Site logo

--gas_v5_getpost-debug's Introduction

確認事項

経緯

新しいAPIサービスを作る時の開発促進のため

主要リンク

システムバージョン

ver1.0.0

環境変数

key value 用途 備考
SSID スプレッドシートのID
SSNAME スプレッドシート名

デバッガ

function __doGet_debug() {
  doPost({
    parameter: {
      name: "テストユーザー",
      message: "テスト"
    }
  })
}

function __doPost_debug() {
  doPost({
    postData: {
      contents: [
        {name: "テストユーザー"},
        {message: "テスト"}
      ]
    }
  })
}

curl

# Get
curl -L (GASのWebアプリURL)
# Post(ここでは使えない)
curl -X POST 'https://example.com/' \
-H 'Content-Type: application/json' \
-d '{"key1": "value1", "key2": "value2"}'

参考

パラメータ

引数

リクエストボディ 概要
?key=(環境変数) キーの値を取得
?key=(環境変数)&value=(該当する任意の値) キーに値を登録

戻り値

JSON形式

パラメータ 欠損の可能性 出力例
result なし Success or Failed
message あり(set時) key's value or comment

システム管理情報

システム名称 情報
READMEフォーマットのバージョン ver1.2022.02.08
README.gs -> README.md https://github.com/shimajima-eiji/--GAS_v5_Template/blob/main/.github/workflows/convert_gs2md.yml
translate ja -> en https://github.com/shimajima-eiji/--GAS_v5_Template/blob/main/.github/workflows/translate_ja2en.yml

--gas_v5_getpost-debug's People

Contributors

shimajima-eiji avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.