AnsweredAssumed Answered

Activiti process deployment though REST service failing

Question asked by kanchan_ghosh on Nov 26, 2015
Latest reply on Nov 27, 2015 by erikwinlof
Hi,

I tried to deploy a process (zip file containing the process only, a very simple process with one human task only) through REST service, But it is failing with this error
{
message: "Bad request"
exception: "Multipart request with file content is required"
}

The URL I hit is - http://localhost:8080/activiti-rest/service/repository/deployments
POST method with
HEADER
————
Authorization = Basic a2VybWl0Omtlcm1pdA==       <= digest of kermit / kermit login.
Content-Type =  multipart/form-data; boundary=—–gc0p4Jq0M2Yt08jU534c0p—-
Accept = application/json
Attached the zip file as binary in REST Client - POSTMAN

What am I doing wrong here ?

Thanks,
Kanchan

Outcomes