Inspiring kids to be creative and have fun with the internet

Website API Integration CSS HTML API Game programming II Game programming Algorithms JavaScript HTML/CSS
7 October 2019

API Integration

by Agustin & Felipe


In this class we are going to learn about web services exposed via REST entpoints. We will be using those to show how dynamic content is generated in the backend and we will build a simple HTML site to consume the information and show it to users via a browser. If none of this makes sense to you, then come along and find out! :)

Kids work



Course #8

curl -X GET \ \
  -H 'Accept: */*' \
  -H 'Accept-Encoding: gzip, deflate' \
  -H 'Cache-Control: no-cache' \
  -H 'Connection: keep-alive' \
  -H 'Host:' \
  "id": 1,
  "name": "Tiger",
  "picture": "",
  "fun_fact": "The tiger is the biggest species of the cat family"
  "id": 2,
  "name": "Badger",
  "picture": "",
  "fun_fact": "UK biggest predator"

curl http://host/path
curl -H 'Accept: application/json' http://host/path
curl -verbose http://host/path
curl -XPUT ....

Playing time

Let’s try to integrate with our animals API to find out more details about the data we consume

tags: api - kids