Skip to content

Instantly share code, notes, and snippets.

@grayside
Last active September 16, 2019 20:36
Show Gist options
  • Save grayside/5d32ac5e519c2ad2897ecb6b22c32ffa to your computer and use it in GitHub Desktop.
Save grayside/5d32ac5e519c2ad2897ecb6b22c32ffa to your computer and use it in GitHub Desktop.
Create an HTTP Target Cloud Task via gcloud
gcloud beta tasks create-http-task --queue my-queue \
--url "https://search.example123-uc.a.run.app?object=piano&color=red" \
--header "Request-User-Id: user123"
Created task [projects/my-project/locations/us-central1/queues/my-queue/tasks/1234567890].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment