Deployment resource create error

Hi!

I’m new in camunda, I’m trying to deploy a process via Deployment resource’s create function, which is in the cam-bpm-sdk.
I read about a similar problem via REST call in this topic (this works fine me too), but i would like to call it via built-in resource.
The error message is similar to the other topic: “No resource method found for POST, return 405 with Allow header”
I think my problem is in the options.files parameter, because the request’s data section is empty. My question is, how should i parameterized the deployable files (bpmn, dmn, png) in the create functions in options.files parameter. I loaded the bpmn, dmn, png via fileReader in the GUI.

Thank you to help me.

Leslie