take wait param from postdata in post requests