just write this on your function.php
add_filter( 'allowed_http_origin', '__return_true' );
Related Posts:
- Get post count in wp rest API v2 and get all categories
- Are there server performance benefits to fetching only specific fields when querying the REST API?
- WordPress Rest API: How do we validate with our custom API key?
- Hiding API routes list
- Can we access the REST request parameters from within the permission_callback to enforce a 401 by returning false?
- WordPress REST API “rest_authentication_errors” doesn’t work external queries?
- How to filter users on custom meta fields in WP JSON v2?
- Gutenberg Custom Block Getting All Posts
- Display post title from WordPress excluding a string via API
- WP_REMOTE_POST Requests are being blocked by API provider [closed]
- is it possible to filter a rest api endpoint by using a registered rest field?
- Use the backbone.js client to save custom post type meta
- Update a post based on results from GET request to another server
- WP API post__not_in is not working
- Get a remote post ID via API given URL
- Core function to check if a rest namespace exists
- How to change the date and time in REST API for comments?
- Is there a way to download only the Rest API part of WordPress?
- WordPress REST Api get posts by ID
- How to use Python to create a Post in WordPress?
- Cannot use WordPress Application Passwords: “code”: “rest_no_route” “status”:404 for /wp-json/wp/v2/users/me/application-passwords
- How to display relations via wordpress Rest API
- register/login api
- WordPress REST API in Integromat: How to overcome “Sorry, you are not allowed to list users / edit this…”
- Remove unwanted fields from WP API response
- WordPress API “code”:”rest_no_route” with Custom Route
- API request forbidden when requesting from same domain
- Woocommerce API for calling products by Category ID
- wordpress rest api authentication failed
- How to use WP-REST API to login user and get user data for Android app?
- How do I cache (core) API requests?
- WP REST API returns blank response if post is too long
- How to feed a HTML5’s EventSource with a REST API custom endpoint?
- Retrieve CSS and JS From the REST API
- How to Authenticate WP REST API with JWT Authentication using Fetch API
- WordPress 4.7 REST API endpoints
- REST API multiple media upload
- Can’t send emails through REST API
- 401 Error when trying to make a REST API call to site
- Does jQuery/Ajax send cookies when using the rest API or do I need to somehow add them?
- Upload image to wordpress using REST API
- Can I define multiple callback methods depending on the call method?
- Filter post content in REST API
- Create post with REST API in php with file_get_contents
- WP Rest API max limit include parameter?
- How can I return an image from a custom REST API endpoint?
- Passing Meta array in wp-rest api
- How to make a WP REST API query with meta_query in WP4.7?
- How add meta fields to a user with the wp-api?
- WordPress Rest API response
- Check Password Strength using WordPress API
- Inserting custom post meta value using WP-REST API
- Get all tags not just first 10 with wp api 2.0
- Why does AWStats show /wp-json* as Viewed URLs
- How send get request to external api with username and password
- permission_callback has no effect
- Updating link on page via REST api
- How to order WordPress Rest API data
- WP Rest API – How to convert embedded to json object in Java [closed]
- WP REST API – Nonce passes wp_verify_nonce even after logout
- WP REST API plugin 500 errors?
- wp-cli command throws error : “SSL routines:tls_process_server_certificate:certificate verify failed” while querying https website
- Setting maintenance mode via REST API
- rendering view in backbone
- WP REST API can’t set post tags
- Manipulating/view postmeta remotely
- Check authentication credentials using WP REST API
- WordPress REST API V2: how to get list of all posts?
- Getting 401 from ajax using an application password
- How to connect android app with WordPress website?
- How to create WordPress custom end point with multiple parameters?
- WordPress REST API calls that depend on the WordPress User
- How to get data from /wp-json/wp/v2/users/me
- WordPress REST API parameters are not affecting a response
- Update meta_value in wp_postmeta using API
- Cant create or update meta fields using WordPress REST API
- WordPress plugin with CORS
- REST API – Allow /users endpoint depending on a custom capability
- “Error: cURL error 60: SSL certificate problem: certificate has expired” when create product in WooCommerce via REST API
- How to use WordPress REST api to login a user?
- Create User with Profile and Cover Images using REST API
- Wrong encoding of dynamic block properties problem when loggen in as editor
- What’s the right way to validate JSON data coming from an AJAX POST request?
- How to add a post’s view count into the WordPress API response
- Need wp rest api for featured video post
- REST api header link href
- Error rest_post_invalid_page_number trying to call Rest API
- WordPress & React Native
- Consume legacy rest api dependent upon WP API plugin
- update meta data (like view counter) by rest-api
- Rest API hook ‘rest_insert_post’ not returning request object
- How Can I keep password protected posts in the json requests but not on frontend queries?
- REST API Integration without user account?
- Getting current core version from an WordPress installation
- How to block external access to register_rest_route callback?
- Filter output of posts (Rest API)
- WordPress Application Passwords not authorizing
- Hide custom posts from certain taxonomy in rest api
- Creating Application Password using REST API results in 401 regardless of JWT token
- How to submit a button automatically after every scheduled hours?