Pushing a file to a gitea using apis

I have a zip which i need to push it to a repo in gitea.I am using the below curl to push the zip file from local to the repo in gitea,but when i am trying to push it the repo it is uploading as a empty text file.I am using postman for this.

I am using my gitea in local using docker…is there a way to achieve this ?

curl --location --request POST 'http://localhost:3000/api/v1/repos/demo/myrepo/contents/abcd.zip’ \

–header ‘accept: application/json’ \

–header ‘Content-Type: multipart/form-data’ \

–header ‘Authorization: Basic ZGVtbzpkZW1vMTI=’ \

–header ‘Cookie: _csrf=IO1dxMr6CLJitdgJnUxHYb-guzE6MTY4NTk0OTA4OTU1MTM2ODgwMQ; i_like_gitea=fa6209ac56379a33’ \

–form ‘content=@“/home/saichandana/Downloads/qa_employee-api_qa_v8.17.2023.05_patch65 (1).zip”’

I think you need to format body as JSON following API specification.
Something like:

curl --header "Content-Type: application/json" \
  --header "Authorization: Basic ZGVtbzpkZW1vMTI=" \
  --request POST \
  --data '{"content":"[file data here]"}' \