Http publish mochiweb_request:parse_post(Req) -> Req:recv_body
This commit is contained in:
parent
73d84bef5e
commit
161e5a2b5b
|
@ -88,7 +88,7 @@ handle_request(Method, Path, Req) ->
|
|||
%%--------------------------------------------------------------------
|
||||
|
||||
http_publish(Req) ->
|
||||
Params = mochiweb_request:parse_post(Req),
|
||||
Params = Req:recv_body(),
|
||||
lager:info("HTTP Publish: ~p", [Params]),
|
||||
Topics = topics(Params),
|
||||
ClientId = get_value("client", Params, http),
|
||||
|
|
Loading…
Reference in New Issue