Title: devcn's Replies | WordPress.org

---

# devcn

  [  ](https://wordpress.org/support/users/devcn/)

 *   [Profile](https://wordpress.org/support/users/devcn/)
 *   [Topics Started](https://wordpress.org/support/users/devcn/topics/)
 *   [Replies Created](https://wordpress.org/support/users/devcn/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/devcn/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/devcn/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/devcn/engagements/)
 *   [Favorites](https://wordpress.org/support/users/devcn/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HTTP Headers] [API] Access-Control-Allow-Origin defined but not present](https://wordpress.org/support/topic/api-access-control-allow-origin-setup-but-not-present/)
 *  Thread Starter [devcn](https://wordpress.org/support/users/devcn/)
 * (@devcn)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/api-access-control-allow-origin-setup-but-not-present/#post-12060849)
 * Hi [@zinoui](https://wordpress.org/support/users/zinoui/),
 * Thank you for the quick reply.
 * The `Origin` header is always set with the correct URL.
 * Sometimes I have the following error:
 * > Cross-Origin Request Blocked: The Same Origin Policy disallows reading the 
   > remote resource at [REQUESTED URL]. (Reason: CORS header ‘Access-Control-Allow-
   > Origin’ missing)
 * But I don’t explain why… probably another plugin doing weird stuff with HTTP 
   headers…
 * Since the feature I try to fix isn’t really important, I ended up using the following
   working solution: [https://stackoverflow.com/a/57951582](https://stackoverflow.com/a/57951582)(
   I already wasted too much time on it)
 * Anyway, thank you again your plugin (even if I ended up not using it) and your
   time.
 * Regards

Viewing 1 replies (of 1 total)