I want to use Spring cloud function so I started it with as http end point. It works great but how do I use it with path variable. Say I want to make an end point like this: http://localhost:8080/myFunction/{id}?
How to accomplish it via Spring cloud function
I am not sure where did you get org.springframework.cloud.function.web.FunctionRequest
. It does not exist.
Also, why do you need MyFunctionController
? I am struggling to understand what you are trying to accomplish. MyFunction
is all you need to access http://localhost:8080/myFunction/123