-1

I am sending a request with XML Data to an anypoint URL after an order is created from my site. How can receive this data and save it as file and upload to a ftp?

I am new in mulesoft. Please help.

G5W
  • 36,531
  • 10
  • 47
  • 80

1 Answers1

0

Are you exposing it via HTTP endpoint?

If so then to receive response just save the response payload.

flowVars.response = #[message.payload]

Then write to ftp path using ftp connector.

show your Xml config to help further.

vijay dhanakodi
  • 175
  • 1
  • 14