1.3 Case Studies of API Calling

Key Points

  • Demo of Jodoo API calling
  • Demo of third-party API calling

Preparation Before Class

None.

Course Content

Demo of Jodoo API calling

Jodoo API documentation address: https://help.jodoo.com/open/10992

  • App ID: appid
  • Form ID: entryid = formid
  • HOST: https://api.jodoo.com
  • Choose a path according to the specific API.
  • URL: https://api.jodoo.com/api/v1/app/{app_id}/entry/{entry_id}/widgets
  • Request Method: POST
  • Request Headers (headers, used for authentication and identity verification)
    • The parameter name is Authorization.
    • The parameter value is Bearer YOUR API KEY (your own API key).
  • Request Parameter (body request content), request parameter format is JSON.
  • Error codes: Find errors quickly
  • Example

Demo scenario: Call the API to query a single line of data

{“data_id”:“5dd6740646357c0006e6eb6e”}

Demo of Third-Party API Calling

Learning More After Class

  • API signatures and authentication mechanisms

The authentication method for Jodoo's public API adopts the API key. You only need to add Authorization: Bearer YOUR_APIKEY to the Header of the POST request. However, some APIs use a very complex authentication method. Therefore, it is difficult to use POSTMAN, and you need to turn to code development.

Was this information helpful?
Yes
NoNo
Need more help? Contact support