Mark a lesson complete for the current user.
curl --request POST \
--url https://tryno.io/api/lessons/{lessonId}/complete \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/lessons/{lessonId}/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/lessons/{lessonId}/complete"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}courses
Mark a lesson complete for the current user.
POST
/
lessons
/
{lessonId}
/
complete
Mark a lesson complete for the current user.
curl --request POST \
--url https://tryno.io/api/lessons/{lessonId}/complete \
--cookie __session=const options = {method: 'POST', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/lessons/{lessonId}/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/lessons/{lessonId}/complete"
headers = {"cookie": "__session="}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}
