Skip to content

Quiz API is a web service that enables developers to seamlessly incorporate quiz functionalities into their applications, websites, or platforms. It offers endpoints for managing quiz & questions, creating and customizing random questions quizzes, and tracking user performance. Features often include various question types and categorization.

Notifications You must be signed in to change notification settings

mj986903/Quiz-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiz-Application

Quiz API is a web service that enables developers to seamlessly incorporate quiz functionalities into their applications, websites, or platforms. It offers endpoints for managing quiz & questions, creating and customizing random questions quizzes, and tracking user performance. Features often include various question types and categorization.

API EndPoints :


    BaseURL = Set variable with initial value as your server base URL in your postman collection.

  1. Get all questions :

    • Method = GET
    • URL = {{BaseURL}}/question/allQuestions
  2. Get questions by category :

    • Method = GET
    • URL = {{BaseURL}}/question/category/{category}
  3. Add question :

    • Method = POST
    • URL = {{BaseURL}}/question/add
    • Body = JSON object (category, questionTitle, rightAnswer, difficultyLevel, option1, option2, option3, option4)
  4. Update question :

    • Method = PUT
    • URL = {{BaseURL}}/question/update
    • Body = JSON object (id, category, questionTitle, rightAnswer, difficultyLevel, option1, option2, option3, option4)
  5. Create quiz :

    • Method = POST
    • URL = {{BaseURL}}/quiz/create
    • Body = Form data (category, noOfQuestion, title)
  6. Get quiz :

    • Method = GET
    • URL = {{BaseURL}}/quiz/get/{quizId}
  7. Submit quiz :

    • Method = GET
    • URL = {{BaseURL}}/quiz/submit/{quizId}
    • Body = JSON objects (id, response)
  8. Delete quiz :

    • Method = DELETE
    • URL = {{BaseURL}}/quiz/delete/{quizId}

About

Quiz API is a web service that enables developers to seamlessly incorporate quiz functionalities into their applications, websites, or platforms. It offers endpoints for managing quiz & questions, creating and customizing random questions quizzes, and tracking user performance. Features often include various question types and categorization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages