Options
All
  • Public
  • Public/Protected
  • All
Menu

External module scripts/bg/gae

Manage the Google App Engine server

Index

Variables

Const GAE_ROOT

GAE_ROOT: "https://clip-man.appspot.com/_ah/api" = GAE_ROOT_REMOTE

Const GAE_ROOT_LOCAL

GAE_ROOT_LOCAL: "http://localhost:8080/_ah/api" = "http://localhost:8080/_ah/api"

Base path of local testing server

Const GAE_ROOT_REMOTE

GAE_ROOT_REMOTE: "https://clip-man.appspot.com/_ah/api" = "https://clip-man.appspot.com/_ah/api"

Base path of production gae server

Functions

doPost

  • doPost(url: string, retryToken?: boolean, interactive?: boolean): Promise<void>
  • Perform POST request to endpoint

    throws

    An error on failure

    Parameters

    • url: string

      server Endpoint

    • Default value retryToken: boolean = false

      if true, retry with new auth token on error

    • Default value interactive: boolean = false

      true if user initiated

    Returns Promise<void>

Generated using TypeDoc