I'm trying to get this to work with my django 6.0.4 based web site, and the following issues have been seen:
- The API doesn't end with a slash - normal for web APIs. But this triggers an error "RuntimeError: You called this URL via POST, but the URL doesn't end in a slash..." if APPEND_SLASH is set. I editted the url.py to accept no trailing slash and found the next error. This also required @no_append_slash decorations on the views in the api.
- The CSRF token is not passed, perhaps due to using JSON instead of HTTP responses? I added the @csrf_exempt decorators to the views in the api and then found out the next error.
- The redeem view ends with a:
Bad Request: /cap/v1/redeem
[11/Jun/2026 21:31:48] "POST /cap/v1/redeem HTTP/1.1" 400
I'm trying to get this to work with my django 6.0.4 based web site, and the following issues have been seen:
Bad Request: /cap/v1/redeem
[11/Jun/2026 21:31:48] "POST /cap/v1/redeem HTTP/1.1" 400