Skip to content
Advertisement

How to update Guzzle service description for v5?

I have the following service description that I had used for quite a while with older version of Guzzle:

JavaScript

Now I am moving bunch of thing to a current version of Guzzle and this absolutely refuses to work with newer broken out guzzle/services.

My code is along the lines of:

JavaScript

It clearly understands command at least partially, since it will complain if I don’t provide required argument or misspell name.

But in the end it’s just empty array and no remote idea what I need to do to troubleshoot it or how do I need to update service description.

The URL it should (does?) access is https://api.github.com/users/Rarst/gists

Advertisement

Answer

Ok, it seems that model is mandatory to interpret response and I got it to working (without much understanding of what and how model controls : ):

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement