Hi,
I'm working with a customer on httprequest. They get the data as text/plain into a variable "data". The parsing looks like this:
// Parsing
request_headers = AssociativeArray();
request_headers["Accept"] = "text/plain";
request_headers["authorization"] = " Bearer " || bearer_token;
// Http Request
request = HTTPRequest(
Url(url || endpoint),
Method("GET"),
Headers(request_headers),
);
data = request << Send;
In the attached script you will see the output of the log file for data. it is comma seperated, both numeric and character variables.
I struggle to create a data table from this "data" variable. I thought to use "matrix box()" but this will only work for numeric data. I'm stucked but I feel like I'm just to blind to see the obvious. May you can help me?
Thanks,
Martin