I am integrating a project in GCP-Workflows with GCP-Admin, but I am having difficulty entering data in the Admin (I intend to set the field "" suspended ": true / false}). But the GCP-Admin accepts only the PUT and not POST, I checked in the Playground, since the GCP-Workflows does not have the PUT method, how to get around the situation?
Asked
Active
Viewed 45 times
1 Answers
0
According to GCP Workflows documentation, you can use next step for doing any type of HTTP request GET, HEAD, POST, PUT, DELETE, OPTIONS, PATCH
.
So for PUT
it will look that way:
- STEP_NAME:
call: http.request
args:
url: URL_VALUE
method: PUT
headers:
KEY:VALUE
body:
KEY:VALUE
query:
KEY:VALUE
auth:
type:{OIDC|OAuth2}
timeout: VALUE_IN_SECONDS
result: RESPONSE_VARIABLE

Kostiantyn Levytskyi
- 51
- 4