Weebly / weebly-client-php

A php client for using the Weebly Platform API
Other
9 stars 4 forks source link

GET requests don't reset the request method #8

Closed cogentParadigm closed 6 years ago

cogentParadigm commented 8 years ago

the CURL handler is being re-used and passing GET to makeRequest does not set CURLOPT_HTTPGET to true.

Therefore, once a POST request is made, you cannot make a GET request with the same instance

rchen1992 commented 8 years ago

Sorry for the late response; we will be investigating this issue soon.

bdeanindy commented 6 years ago

Has this been resolved?

cogentParadigm commented 6 years ago

I am no longer working on the project which I needed this for, so I can't confirm that it works. However, the referenced fix does appear to address the issue that I initially reported.