Provide utils to intercept and save/redirect requests
Project description
Django Thaad (interceptor)
Django thaad is a library that allows project to intercept all request in and endpoint and save crutial information to inspect the payload in request, also you can create mock responses to send back to the requester and create Fake APIs.
How to use
Add interceptor app in your settings:
INSTALLED_APPS = (
#...
'interceptor',
#...
)
Add interceptor urls in your main urls.py:
urlpatterns = [
#...
path('', include('interceptor.urls', namespace='interceptor'))
#...
]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-thaad-1.0.5.tar.gz
(9.9 kB
view details)
File details
Details for the file django-thaad-1.0.5.tar.gz
.
File metadata
- Download URL: django-thaad-1.0.5.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afb3f0505795b49ef13c81ce1d667d3e2dcfb872717989b232451ac1acdd663a |
|
MD5 | 597a75e9051801642ce16d59a9ba6527 |
|
BLAKE2b-256 | 4ab6a65853b9a00c87235c69751734fcfb25a8955ddd6e65bbfce930426a15c6 |