Closed berger-n closed 5 years ago
when fetching annotation collection content in terminal this works:
curl http://purl.bdrc.io/anncollection/ANCWCBC2237_C001 -H "Accept: application/json" -H 'Prefer: return=representation;include="http://www.w3.org/ns/oa#PreferContainedDescriptions"'
but in javascript it fails when using prefer in header: Failed to load http://purl.bdrc.io/anncollection/ANCWCBC2237_C002: Request header field prefer is not allowed by Access-Control-Allow-Headers in preflight response.
prefer
Failed to load http://purl.bdrc.io/anncollection/ANCWCBC2237_C002: Request header field prefer is not allowed by Access-Control-Allow-Headers in preflight response.
whereas without prefer in header it works
can you try with latest version? (I just deployed it)
seems to be working fine thanks!
ok thanks!
when fetching annotation collection content in terminal this works:
but in javascript it fails when using
prefer
in header:Failed to load http://purl.bdrc.io/anncollection/ANCWCBC2237_C002: Request header field prefer is not allowed by Access-Control-Allow-Headers in preflight response.
whereas without
prefer
in header it works