Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7067877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:15:17+00:00 2026-05-28T05:15:17+00:00

I am setting up a web service where users can include a dynmically created

  • 0

I am setting up a web service where users can include a dynmically created JS file from our server on their site. It presentes content on the users/clients website through the javascript function document.getElementById().innerHTML().

The script on the client’s side is included by:

<script type="text/javascript" src="http://www.myserver.com/embed/script.js/some,more,parameters">

Users can of course change “some, more, parameters” to specific paremeters that I am explaining on my site.

I called it API Usage, but now I wonder, am I correct using the term “API”. Afaik it mostly describes a request/response where the response is often in JSON/XML format, or SOAP (which really is a protocoll).

I am simply using a html request to a dynamically created JS file, though with certain parameters that response JS source code.

I guess my question is simply: Am I termwise correct of using the term API?

Thanks guys!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:15:17+00:00Added an answer on May 28, 2026 at 5:15 am

    I consider that an API. You are providing a customizable web service that site owners do not need to host on their sites. The popular Google Maps API also has a JavaScript file that developers include to get them access to maps that become embedded in their site in a similar way that you’re describing.

    If someone does not consider what you are doing an API, it’s more likely they’d call it a widget. Widgets are embeddable bits of HTML and JavaScript that bring content from one site to another.

    There are nearly 300 JavaScript APIs, so you aren’t alone:
    http://www.programmableweb.com/apis/directory/1?protocol=JavaScript

    (Disclosure: I edit ProgrammableWeb)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .NET web service. It serves AJAX requests from web users. I
When setting up a new virtual directory for hosting a SOAP web service in
When setting up a Home Directory on IIS6 properties for a web site there's
I have a combobox, that I populate from a web service: public Configure() {
I have java app that uses Axis to get data from web service. web
I have a web application connects web service on a machine uses proxy server.
My requirement is to call WCF web service from ASP.NET code behind and pass
So I've been working on fetching data from a web service and using it
sorry if my english bad... anyone can tell me how to setting ftp service
I am sitting down to define my first web service and have what is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.