This is the backend API for the Bajaj Finserv Health Challenge. The API is built with Express and provides endpoints for processing JSON data and returning the results.
- POST /bfhl: Accepts JSON data, processes it, and returns filtered results.
- GET /bfhl: Returns a hardcoded operation code.
The site is deployed on render.
-
POST
/bfhl
:- Request Body:
{ "data": ["A", "C", "z"] }
- Response:
{ "is_success": true, "user_id": "john_doe_17091999", "email": "john@xyz.com", "roll_number": "ABCD123", "numbers": [], "alphabets": ["A", "C", "z"], "highest_lowercase_alphabet": ["z"] }
- Request Body:
-
GET
/bfhl
:- Response:
{ "operation_code": 1 }
- Response: