Fix for slashes in api.php

Lel.