I have this curl code i need to convert it to php
curl -H "Content-Type: application/json" -d '{"command":"sendoffer",
"steamID":"###############","token":"lkTR4VG2", "itemIDsToRequest":["4942877123","4892501549"],
"message": "Message"}' http://website:1337/
As you can see there is an array along with normal json.
"itemIDsToRequest":["4942877123","4892501549"]
I looked at many question like this and this, but couldn't understand how to implement it.
Im sorry im very new to curl command.