# CORS Error with PI Web API POST Request

**URL:** <https://community.grafana.com/t/cors-error-with-pi-web-api-post-request/139080>\
**Category:** Grafana Plugin Development\
**Tags:** development, plugins, api\
**Created:** [December 26, 2024, 8:24am UTC](https://community.grafana.com/t/cors-error-with-pi-web-api-post-request/139080 "2024-12-26T08:24:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [December 26, 2024, 3:33pm UTC](https://community.grafana.com/t/cors-error-with-pi-web-api-post-request/139080/4 "2024-12-26T15:33:32Z")

</div>

Understood. but the fact that you asked “how can this information help” is a bit worrisome. Anyways read up what CORS is in general and how it relates to your particular predicament. one domain is not trusting the other, which is not a grafana issue, you need to configure things so they trust each other.

check this issue below.

> [@How to allow Access-Control-Allow-Origin: \* for all the apis](https://community.grafana.com/t/how-to-allow-access-control-allow-origin-for-all-the-apis/2045):
>
> i want to make cross domine calls how to allow it from grafana i was able to do HTTP calls form postman and it was successful but it i try to do same calls i wail get error like this XMLHttpRequest cannot load http://grafana.staged-by-discourse.com/api/admin/users. Response for preflight has invalid HTTP status code 404 bluebird.js:1542 Unhandled rejection SuperagentPromiseError: Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-A…

---

_[View the full topic](https://community.grafana.com/t/cors-error-with-pi-web-api-post-request/139080)._
