guzzle / guzzle-services

Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.
MIT License
253 stars 78 forks source link

Posting array as JSON body #142

Closed cryptiklemur closed 2 years ago

cryptiklemur commented 7 years ago

I'm trying to post the following JSON, but im not sure how to set up my operation...

[
    {"id": 123978591827912, "position": 1},
    {"id": 1233142151622314, "position": 2},
    {"id": 123972727245623, "position": 3}
]
bangpound commented 6 years ago

Did you solve this problem @aequasi ? I'm encountering the same thing.

cryptiklemur commented 6 years ago

Nope, i just wrote my own function to handle it.

GrahamCampbell commented 2 years ago

Closing since stale - I'm doing a cleanup across the whole organization, to enable us to focus on the tickets that are still live and have interest. Please feel free to open a new issue if this still is important to you. :)