FIRST-Tech-Challenge / FIRST-Tech-Challenge/scorekeeper
HTTP api url on tryout page
- Dominant language
- No language data
- Stars
- 110
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
The tryout page (https://ftc-events.firstinspires.org/try-it-out/index.html) uses the HTTP url, which always will return a 301 response or the webbrowser blocks it for mixed-content. With result that all tryout buttons on the tryout page dont work.
- Same problem with the api-docs, they show the http url as well
**To Reproduce**
1. Open dev tools network tab
2. Go to https://ftc-events.firstinspires.org/try-it-out/index.html
3. Press on authorize and fill in credentials
4. Try a tryout section
5. Get a (blocked:mixed-content)
**Expected behavior**
Gives the actual api data and shows it in json.
**Screenshots**
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by opening the tryout page and API docs linked in the report, then reproduce the blocked mixed-content request in the browser network tab. Trace the URL used by the tryout buttons and documentation examples, and verify that the completed change lets the buttons return API data over HTTPS without a 301 or mixed-content block.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100