Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Golemio API - formát URL #27

Closed
filiprafaj opened this issue Aug 20, 2024 · 2 comments
Closed

Golemio API - formát URL #27

filiprafaj opened this issue Aug 20, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@filiprafaj
Copy link

I got an email from operátor ICT - afaik I only use golemio in this integration, so I guess it's related

Dobrý den,
zaznamenali jsme, že voláte naše api.golemio.cz buď s přebytečným lomítkem na konci "/" nebo otazníkem "?" bez dalších parametrů. V rámci optimalizace našich služeb řešíme i kešování. V případě že ke stránce se přistupuju pod 2 různými URL, tak se pak i 2x kešuje. Plánujeme zavést automatický redirect (kod 301) na zkrácenou verzi, ale nejdříve chceme na to naše uživatele upozornit, aby to mohli upravit sami, protože některým by redirect nemusel fungovat.
Příklady nechtěných URL:
/v2/pid/departureboards/?ids=U693Z2P&total=3&preferredTimezone=Europe%2FPrague&minutesBefore=-9
/v2/pid/departureboards/
/v2/pid/departureboards/?
/v2/pid/departureboards?
/v2/vehiclepositions/gtfsrt/alerts.pb/
Budeme rádi, když si to upravíte, protože tím budeme vědět, že se vám chování api nebude měnit.
Děkujeme

@dvejsada
Copy link
Owner

Yes, I received this e-mail as well. I will have a look into it.

@dvejsada dvejsada added the bug Something isn't working label Aug 20, 2024
@dvejsada dvejsada self-assigned this Aug 20, 2024
@dvejsada
Copy link
Owner

CLosed by #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants