P
P
prog3232014-04-24 20:31:25
Erlang
prog323, 2014-04-24 20:31:25

How to properly get and display the entire html urla on the screen via httpc:request in erlang?

I do

process (Url) ->
  {Status, Header, Body} = httpc:request(get, {Url, []}, [], []),
 io:format(Body).

Outputs nothing.
How to properly get and display the entire html urla on the screen via httpc:request in erlang?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-04-24
@begemot_sun

{ ok, {Status, Header, Body}} = httpc:request(get, {Url, []}, [], []),

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question