I was trying to use this again but I was getting the same error when parsing the response. I soon realized that I was getting a 403 error and the code didn't check the response code before using it, so now it does.
I still get the 403 error (which is weird because I can use the API via curl, but not with this...) but now the program prints the response code before exiting.
I was trying to use this again but I was getting the same error when parsing the response. I soon realized that I was getting a 403 error and the code didn't check the response code before using it, so now it does.
I still get the 403 error (which is weird because I can use the API via curl, but not with this...) but now the program prints the response code before exiting.