Rest api deploy/create

Hey, is it possible to deploy a process via rest api with only using the xml text from an bpmn file? i dont want to upload a file i just want to send the xml text and deploy the process.
Thx for help.