Welcome to the Student API!

This API is designed to help you practice your skills in interacting with web services. Your objective is to discover your unique lucky number using your Student ID.

To achieve this, follow these two simple steps:

1- Send a POST request to https://rezafara.com/register. Provide your Student ID in the request body to register and obtain your personal API Key.

2- Once you have your API Key, send a GET request to https://rezafara.com/api/data. Include your API Key in the X-API-KEY header to retrieve your name and lucky number.

API Endpoints: