Update batch.php

Added API Key in url instead of in POST request