Using command line (cURL) to validate RESTful APIs
cURL is a command-line tool for getting or sending files using URL syntax. The following procedure describes the format and syntax used when making Web Services REST API requests with cURL.
Listed below are scripts validated on the following cURL executable versions by OS:
OS | cURL executable version |
---|---|
Windows |
v7.64.1 |
Linux |
v7.29.0 |
Solaris |
v7.59.0 |
zLinux |
v7.29.0 |
AIX | v7.64.1 |
SignOn
About this task
Sign On is required to use all IBM Connect:Direct Web Service RESTful APIs.
Note: Ensure that the authorization header is included each time a RESTful API is invoked for
authentication.
Procedure
Example 1: Submit a Process using cURL
About this task
The following example describes steps to execute a Submit Process Control RESTful API using cURL.
Procedure
Example 2: Select Statistics for a Process using cURL
About this task
The following example describes steps to execute a Submit Select Statistics RESTful API using cURL.
Procedure
Sign Out
About this task
This procedure describes process to Sign Out.