
157
e main takeaway in this ange is grabbing another value from the request_json payload. In this
case, language. e trigger accepts a new payload with the language added.
1 {"entity": "google", "language": "af"}
Screen Shot 2020-03-28 at 1 12 11 PM
Another item to mention is that you also may want to use the curl command to test out your cloud
function. Here is an example of a curl command that you could tweak.
1 curl --header "Content-Type: application/json" --request POST --data '{"entity":\
2 "google"}' https://us-central1-<yourproject>.
3 cloudfunctions.net/<yourfunction>
Reference GCP Qwiklabs
Additional Qwiklabs can be helpful to continue to