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
Concidering the following function deployed to a Fn Server.
package com.example.fn;
public class PojoFunction {
public Object greet(String name) {
if (name == null || name.isEmpty()) {
name = "World";
}
return new Greeting(name);
}
public static class Greeting {
public final String name;
public Greeting(String name) {
this.name = name;
}
}
}
Executing the Run Function Action with Payload MyName does not produce the same result as executing the provided curl command.
Result of Fn UI function execution
{
"name": "\"MyName\""
}
Result of curl function execution
{
"name": "MyName"
}
The text was updated successfully, but these errors were encountered:
Concidering the following function deployed to a Fn Server.
Executing the
Run Function
Action with PayloadMyName
does not produce the same result as executing the providedcurl
command.Result of Fn UI function execution
Result of curl function execution
The text was updated successfully, but these errors were encountered: