Hi @kavyam,
You can follow this documentation: Deployments on KNIME Business Hub Guide. But this guide only shows how the REST service deployment can be invoked from a Data App. So after retrieving the URL of your service (e.g. /deployments/rest:511dca10-Obed-488c-aec7-d4050a70382e/execution), you can make a request to https://api.yourhubhost.com/deployments/rest:511dca10-Obed-488c-aec7-d4050a70382e/execution and send it JSON. The content-type header must be set to application/json
and for authentication you must use an application password with basic authentication. The JSON should look like this:
{
"json-input" : {
"var1": "value1",
"var2": "value2"
}
}
“json-input” is the name you specified for the input in the Container Input (JSON) node.
I hope this helps! Let me know if you need anything else.
Kind regards,
Alexander