Cloud Functions の概要
    • PDF

    Cloud Functions の概要

    • PDF

    Article Summary

    概要

    Cloud Functionsは、コードを作成してアクションに登録することにより、簡単にコードを実行できるサービスです。サーバ管理の負担なしに希望するビジネスロジックを実行できます。Cloud Functionsの APIの使用方法は、以下のガイドを参考にしてください。

    共通の設定

    API URL

    リージョンAPI URLプラットフォーム
    韓国https://cloudfunctions.apigw.ntruss.com/api/v2Classic, VPC
    シンガポールhttps://sg-cloudfunctions.apigw.ntruss.com/api/v2VPC
    日本https://jp-cloudfunctions.apigw.ntruss.com/api/v2VPC

    リクエストヘッダ

    項目要否説明
    Content-TypeYesリクエスト Body Content Typeを application/jsonに指定(POST)
    x-ncp-apigw-timestampYes1970年1月1日 00:00:00 協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表したもの
    API Gatewayサーバとの時間差が5分以上の場合は無効なリクエストとみなす
    x-ncp-iam-access-keyYesポータルまたは Sub Accountが発行した Access Key ID
    x-ncp-apigw-signature-v2Yes上記例の Bodyを Access Key Idとマッピングする SecretKeyで暗号化した署名
    HMAC暗号化アルゴリズムは HmacSHA256を使用

    NAVERクラウドプラットフォームの認証キーおよび Signature作成ガイドに移動する

    エラーレスポンスの形式

    http status code 400 - 500

    {
      "error": {
        "errorCode": "string",
        "message": "string",
        "details": "string"
      }
    }
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.