https://github.com/tamimehsan/cse_moodle_api
API made for the BUET CSE Moodle
https://github.com/tamimehsan/cse_moodle_api
Last synced: 7 months ago
JSON representation
API made for the BUET CSE Moodle
- Host: GitHub
- URL: https://github.com/tamimehsan/cse_moodle_api
- Owner: TamimEhsan
- Created: 2020-08-05T12:33:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-10T12:48:12.000Z (about 5 years ago)
- Last Synced: 2025-01-21T14:38:42.740Z (9 months ago)
- Language: JavaScript
- Size: 4.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CSE_Moodle_API
## API made for the BUET CSE Moodle \
Original work by :Shanjinur Islam Spondongit clone this repository or download zip. Then open with cmd and start the node server.
Then with any http req website send the http requests. Can use Reqbin or postman.
According to this server the listener is set at localhost port 8000## Features
### Log in
url: localhost:8000/login\
Method: POST\
Content: {"username":"username","password":"password"}\Result: a sesskey. save this for later reqs
### Courses
url: localhost:8000/courses\
Method: GET\
header: sesskey: sesskey
### Course details
url: localhost:8000/courses/id\
Method: GET\
header: sesskey: sesskey
### Site news
url: localhost:8000/sitenews\
Method: GET\
header: sesskey: sesskey
### Site news details
url: localhost:8000/sitenews/id\
Method: GET\
header: sesskey: sesskey
### Resource download
url: localhost:8000/resources\
Method: GET\
header: sesskey: sesskey
url: url
### Logout
url: localhost:8000/logout\
Method: POST\
header: sesskey: sesskey