export macro
add api path in macro and less source code(no code in cpp)
script: change macro in template
use the code generated from web2api.sh
signal ok(QString) instead of QByteArray. request and reply in utf8
test: add api result viewer