Sign up now for Client Certification Foundation Course - June cohort!
Pure's logos
Pure Help Center for Pure Administrators

If you are a researcher, or other non-admin at your institution, click here.

  • Home
  • Announcements
  • Release Notes
  • Technical user guides
  • Training
  • Events
  • Support
  • Contact Us
  • Home
  • Knowledge base articles
  • Data Sources and Integrations

How Can We Help?

Search Results

Filter By Category

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Contact us

CORS: What It is and How to HandleCORS: What It is and How to Handle

What

Sometimes when trying to leverage data from Pure by trying to call the Pure web service directly from JQuery from a different web site/domain. This results in the browser refusing to make the call with the message CORS header ‘Access-Control-Allow-Origin’ missing.

Example:

Access to XMLHttpRequest at 'https://pure.elsevier.com/ws/api/522/research-outputs?order=publicationYearAndAuthor&locale=en_US&pageSize=12&apiKey=?page=2' from origin 'http://drupal.docker.localhost:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Why

The issue you see with CORS headers is a "red flag" that you are trying to do something that could lead to security issues.
The below document outlines possible solutions on how to work around this.

  • CORS-solution.pdf

More information

Note: Some of this information is for internal use only and might not be accessible.

Published at October 14, 2023

Download
Table of Contents
  1. What
  2. Why
Related Articles
  • How QABO Matches Authors
  • How Can Cover Sheet Show Cyrillic or Chinese Characters
  • Terms of Agreement Configuration
  • Security Restriction Options
Keywords
  • web service - api get
  • web service
  • web service - api post
  • webservice
  • api
  • ws

Was this article helpful?

Yes
No
Give feedback about this article

    About Pure

  • Announcements

    Additional Support

  • Events
  • Client Community
  • Training

    Need Help?

  • Contact Us
  • Submit a Support Case
  • My Cases
  • Linkedin
  • Twitter
  • Facebook
  • Youtube
Elsevier logo Relx logo

Copyright © 2025 Elsevier, except certain content provided by third parties.

  • Terms & Conditions Terms & Conditions
  • Privacy policyPrivacy policy
  • AccesibilityAccesibility
  • Cookie SettingsCookie Settings
  • Log in to Pure Help CenterLog in to Helpjuice Center

Knowledge Base Software powered by Helpjuice

Expand