Use owl_result_to_csv_simple() from libowlps-result.
This new module allows to get the results sent by the positioning server with HTTP queries. See the heading comment in owlps-udp-to-http.c.