diff --git a/vertical-life-api.md b/vertical-life-api.md index c7a7fd2..d58c94e 100644 --- a/vertical-life-api.md +++ b/vertical-life-api.md @@ -4,14 +4,11 @@ All the information on this page have been gathered by reverse-engineering the I # Location The VL API is located at [https://ifsc.results.info/api/v1/](https://ifsc.results.info/api/v1/) -# Authentication -- ~~The VL API requires "authentication".~~ -- ~~To authenticate, the user has to pass an API-Key an HTTP-Header.~~ -- ~~The header is: ```x-auth-token```~~ - -[//]: <> (and the key is ```cc7375f680648e7e6171e035e70351eb``` probably this is not the only key, but it is the only one I know about) -- ~~For easy use, a browser plugin can be used to inject the header automatically, [this one](https://addons.mozilla.org/en-US/firefox/addon/modify-header-value/) worked just fine for me on Firefox.~~ -- This does not seem to work anymore +# "Authentication" +- The VL-api requires some headers to be set: +- The ```Referer``` header has to be set to ```https://ifsc.results.info/``` +- The ```x-auth-token``` header has to be set to ```cc7375f680648e7e6171e035e70351eb``` +- For easy use, a browser plugin can be used to inject the header automatically, [this one](https://addons.mozilla.org/en-US/firefox/addon/modify-header-value/) worked just fine for me on Firefox. # Usage ## Get all seasons and leagues