Open edX API: gradebook score per problem

Hello @jill. I think this might be an answer to my question that no one answered here. However, how can I create that X-CSRFToken in order to try this out? And does this have to be done from on the system where tutor is running, or can another instructor do it if they put in the site’s full URL instead of localhost, and they have the right authentication token?