You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to add a method to implement followers/ids.json which is a GET. Tracing the code I find
// --------------------------------------------------------------------------------
// modificaiton from the base clase
// the base class appends parameters here
// --------------------------------------------------------------------------------
and then the code that does it is commented out. But there is nowhere in this method where params gets used unless you are doing a POST. Since the convention is to pass nil for method: when it is a GET, I added the following code here.
I was trying to add a method to implement followers/ids.json which is a GET. Tracing the code I find
and then the code that does it is commented out. But there is nowhere in this method where params gets used unless you are doing a POST. Since the convention is to pass nil for method: when it is a GET, I added the following code here.
and now things work as expected. I don't understand how it was supposed to have worked at all for GET requests.
Otherwise your sample project was great and really helped me get going.
The text was updated successfully, but these errors were encountered: