Illegal character in scheme name at index 0: localhost:

Three solutions:

1.  When accessing the address, you need to start with http://

2. Conversion problem when sending url, use URL u = new URL (original url) to convert

3, ASCII replacement problem. Link http://blog.csdn.net/ismr_m/article/details/46383313

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324732443&siteId=291194637