lundi 8 janvier 2018

How to test Graphql api which require user authentication

I am writing test for my application(Django+React.js+GraphQL) i have several api's which require a logged in user to access data. I am using django.contrib.auth for login/logout How can i write a simple test which can allow me to test some graphql api which require a logged in user.

Aucun commentaire:

Enregistrer un commentaire