android - Passing dictionaries or objects in HTTP POST -


is practice pass dictionaries part of http post payload.

many python http client libraries support passing dictionaries part of http payload. , server (python server in limited experience) parses request , returns dictionary.

however, android client (okhttp) doesn't support passing dictionaries (or objects matter). supports passing "key"->"value", value string.

my question: practice pass dictionaries, or should encode (json, since popular) before passing objects?


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -