Unable To Get Twitch API OAuth For PHP

For the Client Credentials flow to get an App token you don’t actually go to the URL. As shown in the documentation you make a POST request. You’re getting a 404 because you’re trying to a go to a URL in a browser that you shouldn’t be going to.