Gets the value of the specified parameter from the specified request URL.
#include "am_web.h" AM_WEB_EXPORT am_status_t am_web_get_parameter_value(const char *inpQuery, const char *param_name, char **param_value);
This function takes the following parameters:
Pointer to the request URL that holds the parameter.
Pointer to the name of the parameter.
Pointer to a pointer to be filled with the value of the param_name parameter, if found.
This function also returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If the query parameter was found in the URL.
If any other error occurred.
The returned parameter value should be freed by the caller using am_web_free().