GenkitG
Genkitโ€ข12mo agoโ€ข
5 replies
ordinary-sapphire

I have a question, in version 0.9 there

I have a question, in version 0.9 there was the option to make a Cloud Function and use the GET method without passing an object in the body and it gave me an answer, now that I migrated to v1.0, I get
{
 "error": {
 "message": "Bad Request",
 "status": "INVALID_ARGUMENT"
 }
}

when using GET, but if I call it with the POST method and sending {"data":{}} in the body, it returns the response I require. Will POST be used now or am I doing something wrong?
Was this page helpful?