-1

For example if documentation is:

{
    "key1": "value1",
    "key2": "value2",
    "key3": "value3"
}

And I sent a POST with all the correct keys in the body but they are not in the correct order is this ok

{
    "key3": "value3",
    "key1": "value1",
    "key2": "value2"
}
Masoud Keshavarz
  • 2,056
  • 7
  • 31
  • 44
T.D
  • 1
  • 1
  • POST? Do you mean JSON? Services are free to implement payload handling the way they see fit, but I doubt JSON libraries care about order (or even provide a way to care). – Álvaro González May 16 '22 at 10:49

0 Answers0