The returned POST data must be NULL terminated and will be freed by calling am_web_free_post_data_func_t.