You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, it seems this is not used by the Kubeless platform. Both requests route to the get-users function.
Am I missing something, or are URL path parameters not supported? That is kind of a big deal for REST APIs, what are the current workarounds? I can't imagine no one has this problem...
I have considered serverless-http + koa + koa-router but that almost removes the entire point of route definitions here...
The text was updated successfully, but these errors were encountered:
The path should be resolved to the path in the ingress object that is created. At the end of the day those are translated to ingress parameters so you can check what's being used if you execute kubectl get ingress -o yaml <ingress_name>.
I think that your problem may be related to the {id} parameter you are trying to use. I think that the proper way of using that would be to use a regexp there:
I'm not sure if this is a bug or maybe a feature request, but I have seen some other projects using URL paths in their
serverless.yaml
.For example:
However, it seems this is not used by the Kubeless platform. Both requests route to the
get-users
function.Am I missing something, or are URL path parameters not supported? That is kind of a big deal for REST APIs, what are the current workarounds? I can't imagine no one has this problem...
I have considered
serverless-http
+koa
+koa-router
but that almost removes the entire point of route definitions here...The text was updated successfully, but these errors were encountered: