# ReportingCloud Web API Supports Now Cross Origin Resource Sharing (CORS)

> The ReportingCloud Web API supports Cross-Origin Resource Sharing, enabling AJAX requests from any origin. Browser-based JavaScript and jQuery can call endpoints without same-origin restrictions. A jQuery code sample demonstrates requesting account settings from an external domain.

- **Author:** Bjoern Meyer
- **Published:** 2016-09-26
- **Modified:** 2026-07-17
- **Description:** The ReportingCloud Web API supports Cross-Origin Resource Sharing, enabling AJAX requests from any origin. Browser-based JavaScript and jQuery can call endpoints without same-origin restrictions. A jQuery code sample demonstrates requesting account settings from an external domain.
- **2 min read** (204 words)
- **Tags:**
  - Conference
  - CORS
- **Web URL:** https://www.textcontrol.com/blog/2016/09/26/reportingcloud-web-api-supports-now-cross-origin-resource-sharing-cors/
- **LLMs URL:** https://www.textcontrol.com/blog/2016/09/26/reportingcloud-web-api-supports-now-cross-origin-resource-sharing-cors/llms.txt
- **LLMs-Full URL:** https://www.textcontrol.com/blog/2016/09/26/reportingcloud-web-api-supports-now-cross-origin-resource-sharing-cors/llms-full.txt

---

The ReportingCloud API supports *Cross Origin Resource Sharing (CORS)* for AJAX requests from any origin. You can learn more about the CORS W3C recommendation here:

<https://www.w3.org/TR/cors/>

Traditionally, AJAX requests have been restricted by the *Same Origin Policy* that only allowed them to make request to resources within the same domain. Since HTML5, this restriction is gone and allows for AJAX requests to be made across domains.

The following is a sample CURL request from a browser hitting *http://example.com*:

```
curl -u username:password -i https://api.reporting.cloud/v1/account/settings -H "Origin: http://example.com"
```

```
HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/8.5
Access-Control-Allow-Origin: *
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Mon, 26 Sep 2016 15:45:38 GMT
Content-Length: 157
```

This enables client-side languages such as JavaScript or jQuery to make ReportingCloud Web API calls. With CORS supported by ReportingCloud, you can make AJAX requests like any other AJAX call. The following sample calls the [Account/Settings](https://docs.reporting.cloud/docs/endpoint/account/settings) endpoint using jQuery:

```
var serviceURL =
    "https://api.reporting.cloud/v1/account/settings";

$.ajax
({
    type: "GET",
    url: serviceURL,
    dataType: "json",
    async: false,
    cache: false,
    headers: {
        "Authorization": "Basic " + btoa("username:password")
    },
    success: function(response) {
        console.log(response);
}
});
```

Happy coding!

---

## About Bjoern Meyer

As CEO, Bjoern is the visionary behind our strategic direction and business development, bridging the gap between our customers and engineering teams. His deep passion for coding and web technologies drives the creation of innovative products. If you're at a tech conference, be sure to stop by our booth - you'll most likely meet Bjoern in person. With an advanced graduate degree (Dipl. Inf.) in Computer Science, specializing in AI, from the University of Bremen, Bjoern brings significant expertise to his role. In his spare time, Bjoern enjoys running, paragliding, mountain biking, and playing the piano.

- [LinkedIn](https://www.linkedin.com/in/bjoernmeyer/)
- [X](https://x.com/txbjoern)
- [GitHub](https://github.com/bjoerntx)

---

## Related Posts

- [Meet Us at BASTA! Mainz: Demos, Talks and More](https://www.textcontrol.com/blog/2026/08/31/meet-us-at-basta-mainz-demos-talks-and-more/llms.txt)
- [Meet Text Control at NDC Oslo 2026](https://www.textcontrol.com/blog/2026/08/26/meet-text-control-at-ndc-oslo-2026/llms.txt)
- [Silicon Valley, Here We Come!](https://www.textcontrol.com/blog/2026/08/10/silicon-valley-here-we-come/llms.txt)
- [WeAreDevelopers World Congress Europe 2026 Wrap Up: Record Breaking Days in Berlin](https://www.textcontrol.com/blog/2026/07/13/wearedevelopers-world-congress-europe-2026-wrap-up-record-breaking-days-in-berlin/llms.txt)
- [Text Control Expands North American Conference Presence with WeAreDevelopers World Congress North America](https://www.textcontrol.com/blog/2026/06/12/text-control-expands-north-american-conference-presence-with-wearedevelopers-world-congress-north-america/llms.txt)
- [NDC Copenhagen 2026: Great Days in the Heart of Copenhagen's Developer Community](https://www.textcontrol.com/blog/2026/06/05/ndc-copenhagen-2026-great-days-in-the-heart-of-copenhagens-developer-community/llms.txt)
- [We Never Pause - Join Us at NDC Copenhagen 2026](https://www.textcontrol.com/blog/2026/05/27/we-never-pause-join-us-at-ndc-copenhagen-2026/llms.txt)
- [MD DevDays 2026: Record Attendance, Packed Expo Hall, and Three Great Days in Magdeburg](https://www.textcontrol.com/blog/2026/05/21/md-devdays-2026-record-attendance-packed-expo-hall-and-three-great-days-in-magdeburg/llms.txt)
- [Techorama 2026: Welcome to The Document Forge](https://www.textcontrol.com/blog/2026/05/15/techorama-2026-welcome-to-the-document-forge/llms.txt)
- [One More Stop on Our Conference Circus: code.talks 2026](https://www.textcontrol.com/blog/2026/04/17/one-more-stop-on-our-conference-circus-code-talks-2026/llms.txt)
- [Ten Years of MD-DevDays: From Community Idea to One of Germany's Largest Developer Conferences](https://www.textcontrol.com/blog/2026/03/23/ten-years-of-md-devdays/llms.txt)
- [Text Control at BASTA! Spring 2026 in Frankfurt](https://www.textcontrol.com/blog/2026/03/06/text-control-at-basta-spring-2026-in-frankfurt/llms.txt)
- [We are Gold Partner at Techorama Belgium 2026](https://www.textcontrol.com/blog/2026/02/26/we-are-gold-partner-techorama-belgium-2026/llms.txt)
- [Text Control Sponsors & Exhibits at BASTA! Spring 2026 in Frankfurt](https://www.textcontrol.com/blog/2026/02/26/text-control-sponsors-exhibits-basta-spring-2026-frankfurt/llms.txt)
- [NDC London 2026 Wrap-Up: Conversations, Community, and a Conference Done Right](https://www.textcontrol.com/blog/2026/02/02/ndc-london-2026-wrap-up-conversations-community-conference-done-right/llms.txt)
- [Text Control at CodeMash 2026: Snow Storms, LEGO Builds, and Nonstop Developer Conversations](https://www.textcontrol.com/blog/2026/01/17/text-control-at-codemash-2026-snow-storms-lego-builds-and-nonstop-developer-conversations/llms.txt)
- [Procurement Comparison: TX Text Control .NET Server vs Aspose (Words + PDF)](https://www.textcontrol.com/blog/2025/12/24/procurement-comparison-tx-text-control-net-server-vs-aspose-words-pdf/llms.txt)
- [The State of Electronic and Digital Signatures (E-Signatures) in Business Applications (2025)](https://www.textcontrol.com/blog/2025/12/23/the-state-of-electronic-and-digital-signatures-e-signatures-in-business-applications-2025/llms.txt)
- [Looking Ahead: Our Conference Journey in 2026](https://www.textcontrol.com/blog/2025/12/23/looking-ahead-our-conference-journey-in-2026/llms.txt)
- [We are Returning to CodeMash 2026 as a Sponsor and Exhibitor](https://www.textcontrol.com/blog/2025/12/08/we-are-returning-to-codemash-2026-as-a-sponsor-and-exhibitor/llms.txt)
- [Scaling TX Text Control Document Editor Applications](https://www.textcontrol.com/blog/2025/12/01/scaling-tx-text-control-document-editor-applications/llms.txt)
- [Text Control at DDC 2025: Bringing Next-Generation Document Technology to the .NET Community](https://www.textcontrol.com/blog/2025/11/28/text-control-at-ddc-2025-bringing-next-generation-document-technology-to-the-dotnet-community/llms.txt)
- [A Fantastic Week at VSLive! Orlando 2025](https://www.textcontrol.com/blog/2025/11/21/a-fantastic-week-at-vslive-orlando-2025/llms.txt)
- [The Mountains are Calling! Meet Text Control at TechBash 2025](https://www.textcontrol.com/blog/2025/10/15/the-mountains-are-calling-meet-text-control-at-techbash-2025/llms.txt)
- [Meet Text Control at DDC 2025 in Cologne](https://www.textcontrol.com/blog/2025/10/06/meet-text-control-at-ddc-2025-in-cologne/llms.txt)
