changing API request to lcoalhost.