hello,
I need a sample url and request body (restapi),headers, to deploy my process using postman
Hi @manish_kumar,
maybe the documentation can help out here:
https://docs.camunda.org/manual/latest/reference/rest/deployment/post-deployment/#example
Best,
Tobias
hi @tmetzke,
Thanks for your reply.
I have referred the above link before but I didn’t understand how to use request body.
Do we need to mention the file-path or filename or total xml in Request body.
Apart from this do we need to add any Request headers?
When I tried I am getting response as “unable to consume content-type”.
It will be helpful if you have any sample request to deploy.
Thanks,
Manish
You can use the form-data
body in Postman and then add the form data fields from the example in the docs.
Make sure to choose file
instead of text
in the key
field the for the diagram you want to send.
All other form fields are text
.
Please also remove the Content-Type
header in the Headers
tab.
Further details can be found here for example:
You should be good to go then.
Best,
Tobias
Thanks Tobias.
It Worked. Once again thanks for your reply.
Thanks,
Manish