httpc 与 ibrowse http请求格式

httpc 


ContentType = "application/x-www-form-urlencoded"

httpc:request(post, {URL, [], ContentType,Body}, [], []) 


ibrowse


Header = [{"Content-Type","application/x-www-form-urlencoded"}]

ibrowse:send_req(Url, Header, post, Body, []).

你可能感兴趣的:(Erlang)