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

Fjerner trailing slash i ECB url #863

Merged
merged 2 commits into from
Feb 25, 2025
Merged

Conversation

UyQuangNguyen
Copy link
Contributor

@UyQuangNguyen UyQuangNguyen commented Feb 25, 2025

Favrokort: https://favro.com/organization/98c34fb974ce445eac854de0/1844bbac3b6605eacc8f5543?card=NAV-24455

Fra rundt 08:30 tiden i dag så har vi hatt noe feil når vi prøver å nå ECB.
Dette kan også reproduseres i test.
"melding": "404 on GET request for "https://data-api.ecb.europa.eu/service/data/EXR/D.NOK+SEK.EUR.SP00.A/\": [no body]",

Når man forsøker dette:
➤ curl https://data-api.ecb.europa.eu/service/data/EXR/D.NOK+PLN.EUR.SP00.A/ så får man 404.

Forsøker man dette
➤ curl https://data-api.ecb.europa.eu/service/data/EXR/D.NOK+PLN.EUR.SP00.A så funker det.

Har de sluttet å støtte trailing slash?
Uanset hva det er, vi fjerner trailing slash hos oss.

@UyQuangNguyen UyQuangNguyen requested a review from a team as a code owner February 25, 2025 12:08
@stigebil stigebil enabled auto-merge (squash) February 25, 2025 12:10
@stigebil stigebil merged commit a548ba4 into main Feb 25, 2025
1 check passed
@stigebil stigebil deleted the Fjern_trailing_slash_ecb_url branch February 25, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants