Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

API to Import file using curl but got error Invalid UTF-8

PBs.KumariJan 4 2022 — edited Jan 5 2022

I am using below API with curl to import file from Jenkins
curl -v POST --header "Content-Type:application/json" --data "@C:\Priyanka\Applications\response.zip" -u userid:pwd URL
But I got error:
HTTP/1.1 400 Bad Request
Invalid UTF-8 middle byte 0x5b - at line: 1, column: 13* Connection #0 to host accenturellpussupplierstest.bigmachines.com left intact
So, what I need to do remove this error?

Comments
Post Details
Added on Jan 4 2022
0 comments
422 views