code: def get_csrf_token():
      
      url = get_url("/simplecsrf/token.json")
      r = s.get(url=url, headers=DEFAULT_ORIGIN)
      return r.json()["token"]
docs: Retrieve a simple csrf token for to prevent cross site request forgery.