}
here is the code which am trying to upload a file
Saqib ahsan
01/15/2025, 12:28 PM
the api is working fine on postman/swagger
c
Chrimaeon
01/15/2025, 5:12 PM
#C0A974TJ9 😉
Chrimaeon
01/15/2025, 5:13 PM
with backend guy he said the request isn’t perfect
so he should tell you whats wrong 😅
s
Saqib ahsan
01/16/2025, 7:05 AM
the issue has been resolved.
append(HttpHeaders.ContentDisposition, “form-data; name=\“file\“; filename=\“${file.name}\“”) this line has some issues so I resolved by replacing