16:13:51.998
200 GET
/api/blogs/categories/
39ms overall
1ms on queries
1 queries
Request Headers
X-FORWARDED-FOR 43.173.174.68
X-FORWARDED-PROTO https
HOST x01-backend.mobischool.mw
CONNECTION close
USER-AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
ACCEPT application/json, text/plain, */*
ACCEPT-LANGUAGE en-US,en;q=0.9
ORIGIN https://www.mobischool.mw
REFERER https://www.mobischool.mw/
ACCEPT-ENCODING gzip
Response Headers
CONTENT-TYPE application/json
VARY Accept
ALLOW GET, HEAD, OPTIONS
Raw Response Body
b'[]'
Response Body
This is the body of the HTTP response represented as JSON for easier reading.
[]
Curl
Curl is a command-line utility for transferring data from servers. Paste the following into a terminal to repeat this request via command line.
curl -X GET   https://x01-backend.mobischool.mw/api/blogs/categories/
Django Test Client
The following is working python code that makes use of the Django test client. It can be used to replicate this request from within a Django unit test, or simply as standalone Python.
from django.test import Client
c = Client()
response = c.get(path='/api/blogs/categories/')