Closed jonnywilliamson closed 2 years ago
Support for --data-raw
is in progress.
However, this is a bit more of a PHP thing. To pass multiple order
items, you'd have to use the array notation, i.e. order[]
. Otherwise, the last passed order
is used.
Hi there, this is a really useful project thank you!
I've just tried with one of my more troublesome POST queries I have to make and I'm having a problem getting it to convert.
I need to make a POST request to a URL with the following as the payload. This is taken directly as a copy from Chrome using devtools.
The Raw format
Image from chrome dev tools:
As you can see there are multiple
order
keys in the data payload.However when I try and use this package to convert this to Laravel HTTP format, only the last
order
key survives.Whats the best way to deal with multiple keys having the same name?
This was the original request I tried to convert, I've just removed some excessive headers.