AS discussed, you should really be using ajax and not reqwest directly.