Google Cloud Tasks always set HttpMethod to GET when using HttpRequest as payload_type

后端 未结 1 1346
半阙折子戏
半阙折子戏 2021-01-06 06:46

According to this documentation [ https://cloud.google.com/tasks/docs/creating-http-target-tasks ], one should be able to create tasks with type \'http_request\' and \'http_

相关标签:
1条回答
  • 2021-01-06 07:13

    Thank You for this post, this is a bug in the existing Cloud Tasks UI and we are in the process of fixing this bug.

    In the meantime the correct HTTP method of the task can be determined by running the following command:

    gcloud beta tasks describe

    https://cloud.google.com/sdk/gcloud/reference/beta/tasks/describe

    The above command will show the correct HTTP method for the task.

    0 讨论(0)
提交回复
热议问题