Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.18 KB

README.md

File metadata and controls

19 lines (13 loc) · 1.18 KB

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.