how can i call HTTP callable cloud function from postman?

前端 未结 4 1913
死守一世寂寞
死守一世寂寞 2021-01-18 12:49

I want to know that can i call cloud function from postman software .When i\'m calling CF from postman it always give me

 \"error\": {
        \"status\": \"         


        
4条回答
  •  被撕碎了的回忆
    2021-01-18 13:26

    Could possibly also be that the cloud function is protected and can be invoked by adding Authorization header with the identity token as the Bearer.

    You get the identity token by running

    gcloud auth print-identity-token 
    

提交回复
热议问题