Step 2.1 : Create HTTP Adapter
Before you proceed through this step, you have to prepare your JSON API. You have to create HTTP Adapter first to use with the JSON Adapter.
- Go to SSQUARE Adapter through http://YOURDOMAIN:8380/adapter e.g. http://ssq.techberry.com:8380/adapter (Google Chrome is recommended)
- Select HTTP on sidebar
- Click + to create a new HTTP adapter
- Define adapter name in Adapter Name field
- Enter HTTP Requests include parameter type, request URL, request method and connection timeout in Request Configuration section
** In this example, the JSON structure service is a POST method.
- Click Test Connection
- Enter HTTP Header (If needed) in Header Configuration section
- If authentication is required, select OAuth 2.0 from dropdown list of Authentication Type
- Authentication Configuration depends on grant type. If grant type is,
Password :
Enter Authen URL, Client Id, Client Secret, Username, and Password in Authentication Configuration section
Client Credentials :
Enter Authen URL, Client Id, and Client Secret in Authentication Configuration section
- Click Test Authentication
- If test connection and authentication successfully, click Create