Thanks for response I executed my request in WarpStudio and it worked correctly. I set Content-Type: text / plain; charset = UTF-8 as described in doc.
the warp10 server always sends me back a 200 with an empty array. the strangest thing is that sometimes (1 time out of 6) in debug mode my call sends me the data correctly. is there a special parameter for http requests to a warp10 server ? Mathias, you told me to use REXEC, what is the difference with / api / v0 / exec that I use? Le vendredi 19 juin 2020 11:31:58 UTC+2, ARNAUD COSTE a écrit : > > Hi, > > I make http requests to warp10 in a java application. these requests > systematically send me a code '200' OK but accompanied by an empty table. > The same requests in grafana correctly recover the data. > I do a POST (request in warpscript) on api / V0 / exec as described in the > documentation. > I defined Content-Type: text / plain; charset = UTF-8 also but nothing > helps. > what could explain this difference in response? > > -- *Ce message et toutes les pièces jointes (ci-après le "message") sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message étant susceptible d'altération, l'émetteur décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. **__*This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. As e-mails are susceptible to alteration, the issuer shall not be liable for the message if altered, changed or falsified. -- You received this message because you are subscribed to the Google Groups "Warp 10 users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/warp10-users/3b5a06b0-672a-4e8e-8ef4-330ba1e6412ao%40googlegroups.com.
