lib-[get_query] to server side