I'm trying to return an array of two values from PHP to erlang. I'm making a http call from erlang to a web server using
http:request.The web server is returning the array as
$args = array($p1, $p2);
return $args;
On Erlang side I receive as
{ok, {_,_,Body}}
I'm trying to log what I receive, and that seems a little weird. How can I cleanly pass an array to erlang.
Note: when I do is_list(Body) in erlang, that returns true.