changed /scan to response to post