Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.
/ rest-logger Public archive

Ready out of box a Python server with endpoint for make petitions and view RAW HTTP petition

Notifications You must be signed in to change notification settings

amoncusir/rest-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST Logger

Python project that expose an endpoint for make HTTP petitions.

The endpoint is dynamic and can accept custom HTTP status if it set in petition using path argument, named status. By default the response status is 200 (OK).

For run project in your machine, you need have install in you environment python3 and execute these commands:

$ make init & make start

The endpoint can accept the HTTP methods: (GET, POST,PUT, DELETE, PATCH) For change HTTP status in response use status path argument, like: /my/fictitious/path?status=404. This call return a 404 code.

By default the server run in port 3000 and can be customize in endpoint.py file.

This project is soo basic and simple.

Using flask as HTTP server.

About

Ready out of box a Python server with endpoint for make petitions and view RAW HTTP petition

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published