XML or JSON in API ? ---------- try this: -- You need to use the "Accept header" in your request (not Content-Type) and send "application/json".
NOTE: try: "text/json" used, too.
NOTE2: Delphi have XML class for some usage!!! look in help!
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3