fixed url issue for json protocol

Signed-off-by: TomWu <phperwuhan@gmail.com>