This page describes how to send an xAPI statement through Postman, a well-known API platform for building and using APIs.
First, install and run Postman. You may need to sign up if this is your first time running Postman.
Open POSTMAN and create a new request.
1) Set the request type to POST. 2) Enter the URL: http://localhost:8080/xapi/statements.
Go to the "Headers" section and add two headers:
| Key | Value | |————|—————-| |Content-Type|application/json| |X-Experience-API-Version|1.0.3|
Go to the "Authorization" section, choose the type "Basic Auth", and enter your credentials:
Go to the "Body" section, select the "raw" option, and choose the "JSON (application/json)" content type.
Copy and paste your valid JSON xAPI Statement(s) into the body:
Click the "Send" button to make the request.