Some previous refactoring for the makeRequest function caused the $curl_handler's options to not be reset on each call. The GET method in particular was relying on the default settings for the $curl_handler to make its request, and this resulted in any GET requests utilising the method of whatever was the previous call.
Addresses https://github.com/Weebly/weebly-client-php/issues/8
Some previous refactoring for the makeRequest function caused the $curl_handler's options to not be reset on each call. The GET method in particular was relying on the default settings for the $curl_handler to make its request, and this resulted in any GET requests utilising the method of whatever was the previous call.