How to use web services with JavaScript
Imagine you would like to get information about a country and use these data on your website. How would you do that? Where would you get the data from? The solution is easy! Nowadays, you address an open online database via a web service to retrieve the information that is publicly available. This course provides you with an overview of a “service-oriented architecture”. After a brief introduction to Javascript, you learn how to send requests to a web service, how to retrieve information and how to display them in a browser. Learners will gain hands-on experience in utilizing JavaScript to interact with web services. Although this course is not a typical Javascript class, it summarizes basic structures and instructions and introduces you to the basic concepts of reading JSON files. Therefore, programming knowledge is not a prerequisite as such.
Content
- Asynchronous HTTP Requests using JavaScript
- Fetching data from HTML (page scrapping)
- Fetching data from free as well as premium API's
- Handling the JSON responses
Learning Outcomes
On completion of this course, participants can:
- Understand the basics of a service oriented architecture
- Make JSON-based API calls with JavaScript: Understand the syntax and conventions for constructing and sending JSON payloads in requests, as well as handling JSON responses from web services.
- Access and consume JSON data with JavaScript: Gain proficiency in using JavaScript to connect with web services that provide data in JSON format. Learn how to retrieve and consume JSON data, enabling you to leverage the vast array of information available through web services.
- Integrate JSON data into JavaScript applications: Learn how to integrate JSON data into your JavaScript applications, allowing you to work with dynamic and structured data obtained from web services. Understand how to parse and extract relevant information from JSON responses to enhance the functionality of your applications.
- Manipulate and transform JSON data using JavaScript: Acquire the skills to manipulate and transform JSON data using JavaScript. Learn techniques to modify, filter, and restructure JSON objects, enabling you to adapt the data received from web services to suit your application's specific requirements.
By developing these skills, learners will be proficient in utilizing JavaScript and JSON to effectively interact with and leverage the power of existing web services. This knowledge will enable learners to retrieve, integrate, manipulate, and transform JSON data within your asynchronous JavaScript applications, opening up a world of possibilities for creating dynamic and data-driven web experiences.
Training Method
This intermediate-level course aims to give an introduction to AJAX (Asynchronous JavaScript and XML), showcasing the power of JavaScript when it comes to accessing data from different online sources such as web services. Through practical examples and hands-on activities, you will discover how JavaScript empowers you to seamlessly retrieve data from various online sources, including web services. By the end of this course, you will have gained a better deeper understanding of JavaScript and its capabilities in accessing data from the web.
Organised By
Digital Learning Hub Luxembourg
Certification
Participation OnlyPrerequisites
Notions of JavaScript or having completed the course "Introduction to Javascript - the language of the browser!"
Planning and location
08:30 - 12:30
08:30 - 12:30
08:30 - 12:30
08:30 - 12:30
08:30 - 12:30
08:30 - 12:30
08:30 - 12:30
08:30 - 12:30
ESCO Skills
ESCO Occupations
Your trainer(s) for this course
