I'm getting json.decoder.JSONDecodeError at working on restapi.
I'm working with RESTAPI with Django (with out DRF). i'm using test.py to to communicate my Django Application. test.py import requests import json BASEURL = 'http://127.0.0.1:8000/' ENDPOINT = 'api/' def delete_resource(id): data = { 'id...