added 3 parameters: for returning response code, setting default value, or handle other url.
fixed fixing get parameter(it was returned) and enable to work request.json