Comment puis-je publier le contenu d'un TStringList
ou TListBox
au format JSON
en utilisant TIdHTTP
?idHttp poster Contenu ListBox ou StringList dans json
Note: J'ai besoin de les poster en une seule demande!
Le contenu de la liste ressemble à ceci:
window
door
box
pin
book
lamp
tree
house
roof
..
..
.
savez-vous comment formater votre texte en JSON? – Zam
http://stackoverflow.com/questions/301991/what-s-the-simplest-way-to-call-http-post-url-using-delphi Exemple de poste Indy – Zam
https://github.com/ onryldz/x-superobject une bibliothèque Delphi Cross Platform Rapid JSON. Facile à utiliser –