title: REST api call from Watson Conversation Service
body: <p>I am trying to invoke a sample REST api from <a href="http://services.groupkt.com/country/get/iso2code/IN" rel="nofollow noreferrer">this link here</a>. I would like to know how to make the REST api call from Watson Conversation Service.
  This is how I implemented in the Conversation Service.(Advanced Response)
  <a href="https://i.stack.imgur.com/yynvf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yynvf.png" alt="Advanced Response"></a></p>
  
  <p>Code here for ease-</p>
  
  <pre><code>{
   "context": {
  "request": {
    "args": {
      "url_to_invoke": "http://services.groupkt.com/country/get/iso2code/IN"
    },
    "name": "http://services.groupkt.com/country/get/iso2code/IN",
    "result": "context.response"
  },
  "skip_user_input": true
   },
   "output": {}
  }
  </code></pre>
  
  <p>As shown in the response,the args and url_to_invoke gives a red underline possibly since its wrong.</p>
  
  <p>How do I take the JSON response and show it to the user?
  I tried the following in the following node.</p>
  
  <pre><code>&lt;?context.result?&gt;
  </code></pre>
  
  <p>but nothing got printed.</p>