Giter VIP home page Giter VIP logo

rest-api-tutorial's Introduction

REST APIs

The glue between the frontend and backend

FAQs

What is an API?

An Application Program Interface (API) is a set of defined functions that access data, perform operations, and decouple applications, e.g., a library.

What is REST?

Representational State Transfer (REST) is a software architecture for developing web services.

What exactly is RESTful programming?

What is a REST API?

Bringing these two concepts together, a REST API is a web service that has defined functions to retrieve data and perform operations. They decouple applications and works as a middle man between the frontend and the backend.

diagram

A Beginner’s Tutorial for Understanding RESTful API

How are they made?

They can be developed in most of the popular programming languages and are usually paired with a web framework. Some examples of this are Java and Spring, Javascript and Node/Express, and Python and Flask.

Where do they live?

REST APIs live on the backend. This means they generally run on a remote server.

How do you access them?

Generally, REST APIs use the HTTP protocol to communicate with the outside world. Each action will be assigned a URL path and accessed by a GET/POST/PUT/DELETE method. A great tool for working with APIs is Postman.

What is Postman?

Postman is an API development app that presents an easy to read GUI for users to construct requests and read responses.

Exercise

To create your own sample REST API please follow this exercise.

rest-api-tutorial's People

Contributors

nionata avatar lvmanchikanti avatar

Watchers

James Cloos avatar Christina Gardner-McCune avatar Dakota Rennemann avatar Zhongkai Liu avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.