correct URL for php-api method