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
Post a Comment