title: Rest API integration using Apache camel
body: <p>I am new to Apache Camel, I have requirement to integrate two systems using REST API using Apache camel. I will receive a JSON message on my apache camel rest api endpoint(from source system).This json will contain arrays, I have to extract each array content and post to another <strong>external api end point (target)</strong>. So initially I tried to send incoming message to camel rest api as it is to the <strong>target external api endpoint</strong>. When I try that, then on application startup I get error. <br> I searched for similar exception but couldn't find anything concrete as in most of the example, source of message was used as a timer component.
  Can't we make a call to <strong>external</strong> rest api end point?</p>
  <p>Camel version : 3.4.0
  Spring boot : 2.3.1</p>
  <p>My router builder code</p>
  <pre><code>restConfiguration()
   .component(&quot;servlet&quot;).port(9090).host(&quot;localhost&quot;)
   .dataFormatProperty(&quot;prettyPrint&quot;, &quot;true&quot;);
  
  rest().post(&quot;/incoming&quot;)
        .consumes(MediaType.APPLICATION_JSON_VALUE)
        .produces(MediaType.APPLICATION_JSON_VALUE)
        .route()
        .to(&quot;https://webhook.site/ff4a6f68-3b20-4bb2-afa1-c15ccae515ef&quot;);
  </code></pre>
  <p>Exception I am getting for target external endpoint</p>
  <pre><code>org.apache.camel.NoSuchEndpointException: 
  No endpoint could be found for: 
  https://webhook.site/ff4a6f68-3b20-4bb2-afa1-c15ccae515ef, 
  please check your classpath contains the needed Camel component jar.
  </code></pre>
  <p>Please let me know, where I am making mistake.
  <br><br><br>Thanks in advance.
  <br>Ani</p>