Skip to content
Jurek Muszyński edited this page Sep 13, 2019 · 1 revision

bool QSD(const char *param, double *value)

Description

Scans query string for param and if found, converts it to double 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

double amount;

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