Adding API's to websites. Local server (MAMP)