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
HTTP ingress verbs have the signature verb(builtin.HttpRequest<T>) builtin.HttpResponse<T, E>, which makes them quite irritating to call with ftl call. ftl call could either automatically detect these verbs and generate the wrapping HttpRequest, or allow curl-like flags to be defined which would perform this wrapping if used.
eg.
ftl call --POST foo '{...}'
Would automatically create the HttpRequest envelope {method: "POST", body: {...}}.
The text was updated successfully, but these errors were encountered:
HTTP ingress verbs have the signature
verb(builtin.HttpRequest<T>) builtin.HttpResponse<T, E>
, which makes them quite irritating to call withftl call
.ftl call
could either automatically detect these verbs and generate the wrappingHttpRequest
, or allowcurl
-like flags to be defined which would perform this wrapping if used.eg.
Would automatically create the
HttpRequest
envelope{method: "POST", body: {...}}
.The text was updated successfully, but these errors were encountered: