https://github.com/gat786/quiz_api
My First Rest Api
https://github.com/gat786/quiz_api
java jax-rs jersey rest-api
Last synced: 7 months ago
JSON representation
My First Rest Api
- Host: GitHub
- URL: https://github.com/gat786/quiz_api
- Owner: gat786
- Created: 2018-07-19T19:14:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T00:50:15.000Z (over 3 years ago)
- Last Synced: 2025-03-08T22:29:59.342Z (7 months ago)
- Topics: java, jax-rs, jersey, rest-api
- Language: Java
- Size: 128 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quiz App Rest API
[](https://travis-ci.org/gat786/quiz_api)
[](https://www.codacy.com/project/gat786/quiz_api/dashboard?utm_source=github.com&utm_medium=referral&utm_content=gat786/quiz_api&utm_campaign=Badge_Grade_Dashboard)This is a restful API that I have made for my college project application that is made on flutter.
This API has 2 main endpoints
/multiple (use this to get multiple choice questions data)
this endpoint has two ways to be used i.e. either you can use POST method directly on to it and yo have to provide json input in the body having elements such as
1) question 2) answer 3) option1 4) option2 5) option3
and you can also use get method here but you have to specify which subjects you want to get data there are currently 7 subjects that are included here
i.e. 1) /science 2) /history 3) /mythology 4) /sports 5) /geography 6) /films 7) /computers
/boolean (use this to get boolean questions data)
this endpoint has two ways to be used i.e. either you can use POST method directly on to it and yo have to provide json input in the body having elements such as
1) question 2) answer 3) option1 4) option2 5) option3
and you can also use get method here but you have to specify which subjects you want to get data there are currently 7 subjects that are included here
i.e. 1) /science 2) /history 3) /mythology 4) /sports 5) /geography 6) /films 7) /computers