Skip to content
Jurek Muszyński edited this page Dec 19, 2021 · 1 revision

bool QSL(const char *param, long *value)

Description

Scans query string for param and if found, converts it to long and copies to value. For POST, PUT and DELETE methods it assumes query string is in payload.

Returns

Returns true if param is present in query string, otherwise false.

Example

long amount;

if ( !QSL("amount", &amount) )
    amount = 0;
Clone this wiki locally