Consume REST Services with AJAX and CSRF protection in Django

Melvin Koh
HackerNoon.com
Published in
3 min readMar 29, 2018

--

Originally published at melvinkoh.me.

What I have now?

  1. API endpoints with Schema provided
  2. They require Token Authentication

What I intend to do?

Create a form to interact with these endpoints and perform validation and preprocessing before calling REST service.

Motivation:

  1. Provide intuitive interaction UI to REST services.

--

--

Melvin Koh
HackerNoon.com

Software Engineer | Maintainer of fastapi-events