Got the issue I was getting.

it was the '.' at the end of url.

Its working fine. Thanks @PriceLess & @masonos