How to call rest api endpoint

Hi Team,

I am trying to call rest api GET method endpoint and also wants return output with statuscode but not able to do. I have added connector, http-connector, url and method. and added Output parameter with variable assignment value : ${S(response).prop(“statuscode”)}.

If could you please share some sample bpmn file, where call Get api endpoint. Its really help us to fix my issue.

Thanks,
Santosh

Are you trying to make a rest call from Camunda to a specific endpoint?

yes Niall,

Take a look at this example:

It explains in details the various ways you can make rest calls - while i suggest you don’t use connectors, if you want to continue with that you’ll find a good explanation there.