PHP Curl response ends with a 0
I’m currently working on a solution with an API. I’m trying to make a curl request but for some reason, the response always returns with a 0 at the end. I’m not sure if there’s a particular header I’m missing, but the documentation for the API itself only mentions using these particular headers. The code I’ve got here just needs to get an auth token from the API itself so that I can begin using that for operations with the API. For whatever reason, the API doesn’t include an API Key. But that aside, here is my code: