case wf_context:request_method() of
get -> handle_get();
post -> handle_post();
_ -> wf:status_code(405)
end
handle_post() ->
Body = wf:request_body(),
io:format("Request Body: ~p~n", [R]),
ok.
Request Body: <<>>
Body = wf_context:request_bridge(),
Body:request_body()
You received this message because you are subscribed to a topic in the Google Groups "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nitrogenweb/NY1Ub00Hnp0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nitrogenweb...@googlegroups.com.
Awesome! Glad that's resolved.
-Jesse
--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm