403 on HEAD, not GET... Plus HTTP headers lacking

12 views
Skip to first unread message

Chris McCulloh

unread,
Aug 12, 2025, 4:14:03 PMAug 12
to mtadeveloperresources
When trying to request the JSON from any of the API endpoints on https://api-endpoint.mta.info, there are no ETag or Last-Modified headers returned. This means the only way to check for updates is to download the entire files and compare to a previous hash.

Additionally, the HEAD method fails on all of these resources, which severely limits options for checking for changes.

This is not the URL encoding issue that comes up here a lot. The exact same request works when made with GET via the same processes. But change the request method to HEAD and you get a 403. You don't get an ETag or Last-Modified with either request, either.

Does anyone know of a way to check for updates to these files without having to download each file in its entirety? It's such a waste of bandwidth.
Reply all
Reply to author
Forward
0 new messages