diff --git a/serverlessworkflow/modules/ROOT/pages/core/custom-functions-support.adoc b/serverlessworkflow/modules/ROOT/pages/core/custom-functions-support.adoc index 414d69ec9..a98a8223f 100644 --- a/serverlessworkflow/modules/ROOT/pages/core/custom-functions-support.adoc +++ b/serverlessworkflow/modules/ROOT/pages/core/custom-functions-support.adoc @@ -342,9 +342,23 @@ The above function will send a `POST` request to the http://custom-function-knat [NOTE] ==== -`GET` requests are not yet supported. +You can also send `GET` requests by setting `method=GET` in `operation`. In this case, the arguments are forwarded over a query string. ==== +.Example of a `GET` request +[source,json] +---- + "functions": [ + { + "name": "greet", + "type": "custom", + "operation": "knative:services.v1.serving.knative.dev/custom-function-knative-service?path=/plainJsonFunction&method=GET", <1> + } + ] +---- + +<1> `GET` request + [[about-namespaces]] ==== About namespaces