Desarrollo y Mantenimiento de Sistemas Informáticos

4º. 1er cuatrimestre. Itinerario de Sistemas de la Información. Grado en Ingeniería Informática. ULL


Organization DMSI org   Github Classroom DMSI class   Campus Virtual DMSI campus   Profesor Casiano   Chat Chat

REST

Bibliografía Básica

Otras Fuentes Interesantes

REST API concepts and examples (Youtube video)

API for beginners (Youtube video) por Le Wagon

Tutorial: Crear API RESTful utilizando Node.js + Express.js + MongoDB

Christopher Buecheler tutorial

RESTful Web services: The basics by Alex Rodríguez

Build a RESTful API Using Node and Express 4

RESTful API From Scratch Using Node, Express and MongoDB (YouTube video. Sencillo)

REST API con Express, Mongodb y Async/Await 6 vídeos por Fatz

Clientes para APIS REST

API testing requires an application to interact with API. Rest API can be tested with tools like:

Example Using Insomnia

request with inmsomnia

Example Using Postman

request with Postman

Example Using curl

~/.../chapter20-node-js-crguezl/the-http-module(master)]$ curl -d "param1=value1&param2=value2" -H "Content-Type: application/x-www-form-urlencoded" -X POST http://10.150.22.51:8000/data

<h1>Hello!</h1>
<p>You asked for 
<code>
/data 
<!-- The url is the full URL without the server, protocol or port. -->
</code>
using the POST method
</p>
<p>Your headers:</p> 
<pre>
{
  host: '10.150.22.51:8000',
  'user-agent': 'curl/7.54.0',
  accept: '*/*',
  'content-type': 'application/x-www-form-urlencoded',
  'content-length': '27'
}
</pre>

Google APIs

googlemaps/google-maps-services-js GitHub

Google Calendar API

  1. Repo de ejemplo de uso en NodeJS de la API de Calendar
  2. Tutorial Building a Google Calendar Booking App with MongoDB, ExpressJS, AngularJS, and Node.js
  3. Google APIs Client Library for JavaScript
  4. Google API Client Libraries JavaScript. Tutorial

Prácticas