# How can one REST Connector recieve payload

**URL:** <https://forum.camunda.io/t/how-can-one-rest-connector-recieve-payload/53684>\
**Category:** Camunda 8 Topics\
**Tags:** connectors\
**Created:** [July 15, 2024, 6:10am UTC](https://forum.camunda.io/t/how-can-one-rest-connector-recieve-payload/53684 "2024-07-15T06:10:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaikrat.singh](https://forum.camunda.io/letter_avatar_proxy/v4/letter/j/f08c70/32.png) [@jaikrat.singh](https://forum.camunda.io/u/jaikrat.singh)\
**Post date:** [July 15, 2024, 6:10am UTC](https://forum.camunda.io/t/how-can-one-rest-connector-recieve-payload/53684/1 "2024-07-15T06:10:36Z")

</div>

Hello Everyone,  
New in this forum and Camunda world. I am writing BPMN model in Camunda8. My use case was to invoke the flow and do some orchestration. But I am stuck at the very first point.  
How to send payload (request body) to my REST Connector. I know there is one option in Modeler, but my payload will be dynamic.

The previous component before REST Connector is “Start Event” which I am triggering programmatically after deploying.

How am I triggering?

```auto

client.getClient().newCreateInstanceCommand()
                .bpmnProcessId("restAPIDemo")
                .latestVersion()
                .variables(application)
                .send()
                .join();

```

The request payload I have mentioned in modeler is

```auto
{
    "customername" : customername,
    "dob" : dob,
    "mobilenumber" : mobilenumber,
    "emailid" : emailid,
    "postcode" : postcode
}

```

and I see the same JSON in my **Operate** window.

I cant use Form before REST Connector.

If any info is missing to debug the issue, kindly revert.

---

<div class="post-metadata">

**Author:** ![jroques](https://forum.camunda.io/user_avatar/forum.camunda.io/jroques/32/28640_2.png) [@jroques](https://forum.camunda.io/u/jroques)\
**Post date:** [July 15, 2024, 8:01am UTC](https://forum.camunda.io/t/how-can-one-rest-connector-recieve-payload/53684/2 "2024-07-15T08:01:33Z")

</div>

Hi @jaikrat.singh !  
First of all, welcome to our forum and our community 🙂

Could you post your BPMN file, and maybe a screenshot of what you see in Operate?

Thank you!  
Jonathan

---

<div class="post-metadata">

**Author:** ![jaikrat.singh](https://forum.camunda.io/letter_avatar_proxy/v4/letter/j/f08c70/32.png) [@jaikrat.singh](https://forum.camunda.io/u/jaikrat.singh)\
**Post date:** [July 15, 2024, 12:41pm UTC](https://forum.camunda.io/t/how-can-one-rest-connector-recieve-payload/53684/3 "2024-07-15T12:41:44Z")

</div>

Thanks Jon… I solved it reading some comment in one of the similar question in forum. What I had to is just to click on that little blue **fx** button which would change my JSON into FEEL Expression.

I was not able to answer or close my post since it was not approved.

Silly me 🙂

---

<div class="post-metadata">

**Author:** ![jroques](https://forum.camunda.io/user_avatar/forum.camunda.io/jroques/32/28640_2.png) [@jroques](https://forum.camunda.io/u/jroques)\
**Post date:** [July 15, 2024, 12:44pm UTC](https://forum.camunda.io/t/how-can-one-rest-connector-recieve-payload/53684/4 "2024-07-15T12:44:57Z")

</div>

Good to hear!

No worries, it probably means we need to make this a bit more explicit as well so we’re learning something as well.

Thank you for your feedback, have fun with Camunda 😀

Jonathan

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [July 22, 2024, 12:45pm UTC](https://forum.camunda.io/t/how-can-one-rest-connector-recieve-payload/53684/5 "2024-07-22T12:45:38Z")

</div>

Closed on July 22, 2024, 12:45pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
