Skip to content

ben-dh3/rest_api_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

REST API Server

Server made using Flask with GET request functionality. When called the server sends an HTTP response with the required RESTful headers and caching functionality using Flask-Caching.

I wrote this server for the purpose of bettering my understanding of REST API, and to explain REST in an article on Code & Jobs.

How to Run the Project

Run the server

In the rest_api_server directory run:

pipenv install

pipenv shell

python app.py

Make a GET request with curl

Now open a new terminal and run:

curl -v http://127.0.0.1:5001

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages