...
Code Block |
---|
HTTP/1.1 200 OK Date: Thu, 12 Jun 2014 13:49:22 GMT Server: Apache-Coyote/1.1 Content-Disposition: attachment; filename="os.jpg" Content-Type: application/octet-stream Content-Length: 28805 Via: 1.1 api.boknett.no |
Info |
---|
Changes coming in Q3 2023 Soon there will be no need to download resources and host yourself. Just use the public available URL that comes in ONIX directly in customer facing solutions.
|
Changes to filename
In case you still want to fetch these files and host them your selves, please make some adjustments:
Image Covers (Q1/2023)
Code Block |
---|
# In case you use this command (used when resource was protected/time-limited)
curl -JO -H "Accept: application/octet-stream" -H "Authorization: Boknett TGT-1947-CEwDRwvOiIodyeov31sMnHTn7XxbZH15GDhJDdKWAq1rELH5wU-login.boknett.no" -H "Date: Thu, 12 Jun 2014 13:49:22 GMT" https://sr.bokbasen.io/coverimage/9783836574228/w360/jpg
# CHANGE
curl: Saved to filename 'jpg' (not as 'os.jpg') |
Audio Samples (Q3/2023)
Code Block |
---|
# In case you use this command (used when resource was protected/time-limited)
curl -JO -H "Accept: application/octet-stream" -H "Authorization: Boknett TGT-1947-CEwDRwvOiIodyeov31sMnHTn7XxbZH15GDhJDdKWAq1rELH5wU-login.boknett.no" -H "Date: Thu, 12 Jun 2014 13:49:22 GMT" https://sr.dev.bokbasen.io/audiosample/9783836574228.mp3
# CHANGE
curl: Saved to filename '9783836574228.mp3' (not as 'ly.mp3') |