You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error in importing exp using REST API 4.0

edited Nov 8, 2017 8:00AM in Process Automation

Summary

Error in importing exp using REST API 4.0

Content

Hi,

I am trying to use PCS REST API 4.0 "Create or import a new Project into the Space" to import a new Project in my Space. I am using curl command.

This is my commnd :

curl.exe -u "myUsername:myPassword" --header "Content-Type:multipart/form-data" --header "Accept:application/json" -F "projectName=TestProject"  -F "description=This is test desc"  -F "exp=C:\Users\location\ExplorePCSApp.exp"  -X POST   "https://example.com:443/bpm/api/4.0/spaces/fe94f81f-df6d-40d5-b3d2-5dd303fd705b/projects"

but I am getting this error :

{"type":"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!