API Documentation

How to access and use the BFHL API endpoint

POST /api/bfhl

Process data and file information

Request Body

{
  "data": ["M", "1", "334", "4", "B", "Z", "a"],
  "file_b64": "BASE_64_STRING"
}

data: Array of strings or numbers

file_b64: (Optional) Base64 encoded string of a file

Response

{
  "is_success": true,
  "user_id": "john_doe_17091999",
  "email": "john@xyz.com",
  "roll_number": "ABCD123",
  "numbers": ["1", "334", "4"],
  "alphabets": ["M", "B", "Z", "a"],
  "highest_lowercase_alphabet": ["a"],
  "file_valid": true,
  "file_mime_type": "image/png",
  "file_size_kb": 400
}