Template:REST API GET sample code (php+curl)