POST request to get token