title: What keyword for make javascript call resource?
body: <p>Maybe its not too good question, but I am blank for this.</p>
  <p>I want to make javascript file to include in client web, to call my SaaS resource, like google can call map just with this code</p>
  <pre><code>&lt;script
    src=&quot;https://maps.googleapis.com/maps/api/js?key=AIzaSyB41DRUbKWJHPxaFjMAwdrzWzbVKartNGg&amp;callback=initMap&amp;v=weekly&quot;
    defer
  &gt;&lt;/script&gt;
  </code></pre>
  <p>and this script can give resource like this
  <a href="https://i.stack.imgur.com/Hggvp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hggvp.png" alt="google map resource" /></a>
  , so the question what is keyword for make like this script and what i have to provide in my API to get it out, I know about rest api and ajax, but is it just call html from your api or what should it be?</p>