From the course: xAPI Foundations

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Four steps of xAPI

Four steps of xAPI

From the course: xAPI Foundations

Start my 1-month free trial

Four steps of xAPI

- [Instructor] So now that you have some familiarity with how xAPI statements are structured, let's look at how to send one to the learning records store. To do so requires four steps and they're pretty simple. First, define the URL to the learning records store and the authorization credentials needed to connect to that service and record the statement. Second, once you have those defined and saved to a variable, you need to tell the browser or environment to use that learning records store defined in that variable. Third, build or define the statement you want to send and finally, send the statement to the LRS. That's it. So let's look at each of these steps in turn. First, define the learning records store with the username and password used to authenticate. This will be a username with permissions to write the xAPI statements to the learning records store. For this example, we're using the default user id and password for the open LRS provided by ADL for testing. The first thing…

Contents