Http request - post file

Hello,

i’m trying to upload a package to Orchestrator using Rest API /odata/Libraries/UiPath.Server.Configuration.OData.UploadPackage and the HTTP Request Activity. Can’t figure out how to post file.
I tried to set http headers (Content-Type: multipart/form-data)
I’ve set my package in Attachement (filename, filepath)

The only response from the server is : {“message”:“The package file is required.”,“errorCode”:1677,“resourceIds”:null}",

Did anyone managed to upload a package to Orchestrator via REST API plz ?

Regards,

Can you confirm whether you are trying to upload .nupkg through the request @cpage?

Yes, i’m trying to upload a nupkg file.

Hi @cpage did you manage to upload it? How did you do it? I’m in a similar situation