Testing curl/php api call