foss42 / api

Open Source APIs
https://api.apidash.dev/docs
Apache License 2.0
49 stars 25 forks source link

Added an API which accepts a body of Content-Type: application/octet-… #43

Closed deepashri30 closed 1 month ago

deepashri30 commented 1 month ago

Added Api as per assigned in issue number #20 which was assigned to me. No core functionalities changed only added the api https://github.com/foss42/api/issues/20

Contribution under GSSOC_24

ashitaprasad commented 1 month ago

The PR looks good. Just you need to remove

from fastapi.responses import JSONResponse
from fastapi import HTTPException

as we have pre-defined response utils (ok_200(), internal_error_500()) already being used across the project.