org.apache.http.ProtocolException: Target host is not specified

The error message is kind of misleading. You’ve provided a value that does not represent a complete URI

request = new HttpGet("trib.me/1lBFzSi");

It’s missing a protocol.

Simply provide a complete URI

request = new HttpGet("http://trib.me/1lBFzSi");

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)