title: Apache Camel Rest send response for post request
body: <p>I have a camel endpoint where another application sends a post request with some data (Maybe with some other route)</p>
  
  <p>I want to process this data and return something back to the application with the response of the POST request.</p>
  
  <p>This is how my Camel Context looks at the moment:</p>
  
  <pre><code> &lt;camelContext xmlns="http://camel.apache.org/schema/blueprint"&gt;
  
      &lt;restConfiguration component="restlet" bindingMode="json" port="8989" enableCORS="true"/&gt;
  
      &lt;rest path="/finData"&gt;
        &lt;description&gt;User rest service&lt;/description&gt;
        &lt;post&gt;
          &lt;to uri="direct:update"/&gt;
        &lt;/post&gt;
      &lt;/rest&gt;
  
      &lt;route id="sendFinData"&gt;
        &lt;from uri="direct:update"/&gt;
        &lt;log message="Got some data:  ${body}"/&gt;
        &lt;to uri="aclient://otherClient"/&gt;
      &lt;/route&gt;
  
    &lt;/camelContext&gt;
  </code></pre>
  
  <p>How can I send some answer back from the route sendFinData through the response of the post request?</p>