Hi,
I need to call the cloud database with json formatted request. I have tried below one.
<dp:url-open target="https://{hostname}/dbapi/v4/sql_jobs" http-method="post" http-headers="$headers" ssl-proxy="client:ssl-client-profile" response="responsecode">
<xsl:copy-of select="concat('{ "commands" : "insert into IEBX.NON_REPO_LOGS(device_name) values(\'123\')"}')" />
</dp:url-open>
in values section, i have tried passing value as 123 / '123' and other ways but none worked. At datapower, the request is failing with error - filename.xsl:25: Operator expected.
not sure how to pass values in the statement. If anyone come across such issue, please reply here.
#DataPower#Support#SupportMigration