Transport Layer: HTTP Adapter

Before configuring the adapter layer of adapter, make sure that you have connected with your external system through transport adapter.

Requirements for HTTP Adapter

Adapter Name
Adapter names will be displayed in the Transport Name drop-down list of JSON Adapter. See more about Adapter Name Concept: Logical and Physical Reference

HTTP Requests
SSQUARE needs to know where the request is made to. Along the creating steps you’re required to provide parameter type, request URL, request method as well as connection timeout.

HTTP Headers
You can set HTTP headers here if needed.

If your JSON API requires OAuth 2.0 authorization for calling, authentication must be configured depending on the grant type. Without authentication, SSQUARE couldn’t invoke your JSON API.

Create HTTP Adapter

  1. Go to SSQUARE Adapter through http://YOURDOMAIN:8380/adapter e.g. (Google Chrome is recommended)
  2. Select HTTP on sidebar 
  3. Click + to create a new HTTP adapter
  4. Define adapter name in Adapter Name field
  5. Enter HTTP Requests include parameter type, request URL, request method and connection timeout in Request Configuration section
  6. Click Test Connection
  7. Enter HTTP Header (If needed) in Header Configuration section
  8. If authentication required, select OAuth 2.0 from dropdown list of Authentication Type
  9. Authentication Configuration depends on grant type. If grant type is,
    9.1) Password – enter Authen URL, Client Id, Client Secret, Username, and Passwordin Authentication Configuration section
    9.2) Client Credentials – enter Authen URL, Client Id, and Client Secret in Authentication Configuration section
  10. Click Test Authentication
  11. If test connection and authentication successfully, click Create