Question

Issue with HTTP Client

  • 21 October 2022
  • 3 replies
  • 55 views

I need to add 2 parameters in HTTP-client processor

One on header side and one on POST-request body side.

But its not accepting.

How do I achieve this?

 

Incoming processor is 2 groovy-evaluators and they are getting joined to HTTP.

I gave values for parameters in groovy. But HTTP is not absorbing the parameters.

Can you plz help me how to achieve this?

 

I specifically don’t want to hardcode parameters in HTTP or in pipeline.

I want parameters to be passed from expression to groovy to HTTP and parameters should not be hardcoded as they are dynamic and depends on data in expression.

 

Please help me how to achieve this

 

 


3 replies

Userlevel 4
Badge

@Priyanka Mynepally ,

Adding 2 inputs to a processor will generate 2 records for this processor. Best way would be to add another Evaluator and keep the relevant fields only. Use the field values in HTTP Client processor.

It still errors out. Is there no way can we dynamically change parameters

Userlevel 4
Badge

@Priyanka Mynepally  you cannot change parameter values. You can create new fields using the parameter values. I think it would be very helpful if you can export your pipeline (remove any sensitive information) and upload here. Also let me know what you are trying to achieve and I will try to help.

Reply