Hi @chriselliston,
I have done same program using UTL_HTTP. I believe that UTL_HTTP package is the most suitable one for this operation.
Best Regards
Shehan
Hi Shehan
Have you been able to pass a blob as an attachment in the multipart form-data request?
Regards
Chris
Hi @chriselliston,
I have sent a json as a blob. However if you need to send a attachment I believe that you should chunk it before send to the endpoint.
Best Regards
Sheha
Hi Shehan
Have you got any examples?
I’ve got a simple text file working.
The blob is proving problematic though. I’m converting to a base64 encoded clob and the file gets sent but is corrupt at the other end.
Regards
Chris
Hi @chriselliston ,
Were you able to send the BLOB attachment to the REST endpoint?
We are also facing similar requirement. Kindly let us know if you have found any way to do this.
Thank You.
Regards,
Lijin
Hi Lijin
We got it working in the end using utl_http.write_raw but it was messy and took a lot of trial and error testing. Getting the boundaries working properly is one of the most challenging bits of the process.
Regards
Chris