Forum Discussion
Just a follow up FYI for you regarding the json order/unorder (unorder....ia that even a word? Never mind...rhetorical!)
The definition of a json object is an "unordered list of name/value pairs".
If you want the contents of an object in a particular sequence, you have to do things like embed it in an array, etc.
Cheers
Rich
Thanks, Community!
Guru2 please let us know if the advice helps!
- Guru23 years agoOccasional Contributor
Hi Sonya,
Thanks for asking. My query was not solved because this is not a json request/response. Still could not understand how readyapi encodes the request data to server when the grpc request created using the unary call imported from .proto file. So tried modifying the default request data in the grpc unary call based on how we implemented in our code. That modification did not helped, it throws "invalid input length" error after modifying. Any suggestions how to proceed further? How this request data is being set when creating grpc request using the imported API definition? Kindly let me know.
Thanks,
Guru
- Guru23 years agoOccasional Contributor
When sending request from readyapi to some server using grpc. Are some bytes getting padded in the json request or its re-ordered? How this encoding is happening in readyapi while sending request? Kindly let me know your thoughts on this.
Thanks,
Guru
Related Content
- 11 years ago
Recent Discussions
- 21 days ago