-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrating LMS APIs to DRF #35057
Comments
How to generate csrf For login authentication
Generate access token via postman You can curl command as well as follows. Just pass your token.
|
Amazing list and job @awais786 ! thank you very much for this very relevant list ! |
@AmauryVanEspen you can find some help material from here Please let me know if you have some questions. |
@AmauryVanEspen You can use these open tickets. |
Hi @awais786 not sure about how to add the script : var xsrfCookie = postman.getResponseCookie("csrftoken"); postman.setEnvironmentVariable('csrftoken', xsrfCookie.value); collection folder ? the post-request script of the POST ? |
Please try this. |
@AmauryVanEspen Please check the last post with postman collection |
hi @awais786 |
@AmauryVanEspen I am using local tutor instance for testing purpose. |
This document Big changes to edx-platform contains a segment to convert
Improve HTTP APIs.
How to test Instructor APIS
Tasks releated with 1st point Switch all APIs to be using DRF with standard Auth classes.
Tasks
The text was updated successfully, but these errors were encountered: