You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background: When a user bookmarks a video the page reloads which means if they were watching a video, the video starts over making for a frustrating user experience. We can use JavaScript to make a POST request to /api/v1/bookmarks.
This story should make a fetch call to an internal API.
The app currently uses Stimulus JS and there are already examples of how to make a fetch call to an internal API. Review that code and use it as a template.
The text was updated successfully, but these errors were encountered:
Background: When a user bookmarks a video the page reloads which means if they were watching a video, the video starts over making for a frustrating user experience. We can use JavaScript to make a POST request to
/api/v1/bookmarks
.This story should make a
fetch
call to an internal API.The app currently uses Stimulus JS and there are already examples of how to make a
fetch
call to an internal API. Review that code and use it as a template.The text was updated successfully, but these errors were encountered: