You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Run Curl Command for REST API-POST in ODI 12c using OdiOSCommand

Question
171
Views
0
Comments
edited Dec 18, 2019 5:48PM in Data Integration

Summary

OdiOSCommand is thorwing ssl exception for calling rest api

Content

Hi Experts,

I am executing a curl command using OdiOSCommand utility in odi12c, it is throwing an ssl exception because the endpoint is an https call. Please help me with the required configuration to resolve this issue.

curl -i -u 'USER:pass'  -X POST -d '{  "name": "cancelInvoice",  "parameters": [              {                           "InvoiceNumber": "Test_App_6"             },            {                             "BusinessUnit": " Service"      },            {                           "Supplier": "XX"         }  ]}' -H 'Content-Type: application/vnd.oracle.adf.resourceitem+json'  https://erpurl/fscmRestApi/resources/11.13.18.05/invoices

Thanks,

Vempati

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!