

POST data is read using http_read_data/3. Whereas http_parameters/3 may be called multiple times during processing a single request for GET requests, it can only be used once for POST requests. If the data needs to be processed in multiple places, one should use the
form_data(Data)
option and pass the form data around.