Replies: 1 comment
-
|
Hi team, Could someone please assist me with this? Thanks in Advance |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I’ve created a scenario in Nussknacker with the following setup:
Input Schema:
{
"type": "object",
"properties": {
"incoming": {
"type": "object",
"properties": {
"first": { "type": "string" },
"last": { "type": "string" }
},
"required": ["first", "last"]
}
}
}
Output Schema:
{
"type": "object",
"properties": {
"outgoing": {
"type": "object",
"properties": {
"first": { "type": "string" },
"last": { "type": "string" }
},
"required": ["first", "last"]
}
}
}
I’ve added a source and connected it to a sink. After saving and deploying the flow, the UI shows the scenario is running successfully.
However, I’m unclear about the correct URL to invoke the flow.
I tried the following request:
curl -X POST http://:8080/TestRequestResponseFlow
-H "Content-Type: application/json"
-u admin:admin
-d '{
"incoming": {
"first": "John",
"last": "Doe"
}
}'
But I received the following response:
HTTP method not allowed, supported methods: GET
Can someone please help me understand:
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions