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

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -