- Clone the repo
- Put in your own course request fetches. You can find these requests by going to SimpleEnroll, clicking enroll on a course, and pulling up the Network request tab in Chrome Dev Tools.
- Fire a test enrollment request and find the corresponding request in the Network tab like so:
- Copy the request as a Node.js fetch like so:
- Paste that into the code you cloned
Update the SESSION_COOKIE
variable in app.js
by firing off a test request and copy the cookie in the request headers like so:
Run node app.js
in your terminal and profit B)
Note: The app might crash so just restart it