changed url input to json input