Skip to content

StudentAPI: A simple REST API with methods post, get, put, and delete

Notifications You must be signed in to change notification settings

arash-mazidi/StudentAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StudentAPI: A Simple API with POST, GET, PUT, and DELETE Methods

The StudentAPI is designed for teaching API testing in a university course. It serves as a deliberately vulnerable API, intended for educational purposes, with a focus on addressing mass assignment vulnerabilities.

What is StudentAPI?

The StudentAPI offers various endpoints for registering, updating, deleting, and retrieving student information. It is intentionally kept straightforward, as it is created and implemented for educational and testing purposes. The API provides the following endpoints:

  1. Save one student
  2. Update one student
  3. Display all students
  4. Delete one student
  5. Display one student

How to Configure StudentAPI?

To configure the StudentAPI, you need to edit the application.properties file and provide your URL, username, and password. Additionally, ensure that you have MySQL Workbench installed on your system, and create a database named "student." Afterward, you can run the API using Eclipse or your preferred Integrated Development Environment (IDE).

How to Use StudentAPI?

Begin by running the API in an IDE like Eclipse. Then, you can send your requests using tools such as Postman.

About

StudentAPI: A simple REST API with methods post, get, put, and delete

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages