How does the request from Camunda Modeler look like by Upload?

I need to deploy from Camunda Modeler to Camunda Cockpit, but I need to implement a security gateway between those.
For that I need to know what Camunda Modeler sends by Deployment. Where can I find that?

Hi @vladislavmungalov,

The modeler uses the REST API to create deployments. The documentation can be found here: https://docs.camunda.org/manual/latest/reference/rest/deployment/post-deployment/

Good, I’ve used it, but I have a problem.
When I receive a request, then there is an error:
Content type 'multipart/form-data;boundary=--------------------------914124725006223485188585;charset=UTF-8' not supported]

The Rest Controller looks so (Kotlin):

@PostMapping("/data/deployment/create")
fun uploadDmn(@RequestBody() file: Any){}

If I use “MultipartFile” instead of any, then is file NULL.

@PostMapping("/data/deployment/create")
fun uploadDmn(@RequestBody() file: MultipartFile){}