# New tutorial **Published by:** [Code After Me blog](https://paragraph.com/@codeafterme/) **Published on:** 2021-08-03 **URL:** https://paragraph.com/@codeafterme/new-tutorial ## Content ```javascript fetch(url, { method: "POST", cache: "no-cache", credentials: "include", headers: { "X-CSRFToken": csrftoken, "X-Requested-With": "XMLHttpRequest" }, redirect: "follow", body: new FormData(form) }); ``` :::info Django fetch POST with csrftoken ::: \ ## Publication Information - [Code After Me blog](https://paragraph.com/@codeafterme/): Publication homepage - [All Posts](https://paragraph.com/@codeafterme/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@codeafterme): Subscribe to updates ## Optional - [Collect as NFT](https://paragraph.com/@codeafterme/new-tutorial): Support the author by collecting this post - [View Collectors](https://paragraph.com/@codeafterme/new-tutorial/collectors): See who has collected this post