ComponentOne Studio Web API Edition > Adding Web API Client JavaScript |
Client application sends request to Web API service application. Web API Edition provides JavaScript client code to help raise this request in web platform. ComponentOne Web API Client JavaScript file, webapiclient.min.js, provides export/import extension JavaScript for Wijmo and MVC controls. It provides API to call the server side from client application.
Note that, for consuming REST based API services, client JavaScript file is not required. The request methods- GET and POST- are used for calling RESTful services. For more information on using services, see the Services section.
Note: webapiclient.min.js file is by default installed in C:\Program Files (x86)\ComponentOne\Web Api Edition\client. |
Complete the following steps for adding and using Web API Client JavaScript file in your client application:
HTML |
Copy Code
|
---|---|
<script src="Scripts/webapiclient.min.js" type="text/javascript"></script> |