curl --fail-with-body --silent --show-error \ --user "$SCORMBOX_API_KEY:$SCORMBOX_API_SECRET" \ --header 'Content-Type: application/json' \ --data '{"origin":"https://lms.example.com"}' \ "https://scormbox.com/api/v1/courses/$SCORMBOX_COURSE_ID/previews"