My Oracle Support Banner

Importing IAR Through Rest API (Curl) Not Working And Not Uploading Any Bytes (Doc ID 2388921.1)

Last updated on APRIL 26, 2018

Applies to:

Integration Cloud Service - Version N/A and later
Information in this document applies to any platform.


On : NA version, Runtime

Importing iar through REST API (Curl command) is not working.

curl -X GET -u <user>:<pwd> -H "Content-Type:application/json; charset=utf-8" -o ./RSOURCECASEINTERFACE.iar -F "file=@RSOURCECASEINTERFACE.iar;type=application/octet-stream" https://<instance>

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 594 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

Import should upload the iar successfully and the result should show the number of bytes uploaded.

The issue can be reproduced at will with the following steps:
1. Try import an iar using curl


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.