Sure they can!
Actually the structure you used is assuming that url rewrites are on. Which may be or may be not.
To assure the right endpoint, you must use get_rest_url
function: https://developer.wordpress.org/reference/functions/get_rest_url/
So in your case, this would be:
'get_rest_url' => get_rest_url(null, '/block_help/v1/block_identi...')
Related Posts:
- How to: Make JWT-authenticated requests to the WordPress API
- How would I add custom tables/endpoints to the WP REST API?
- WP REST API create post authentication issue
- WordPress REST API validation
- Are there server performance benefits to fetching only specific fields when querying the REST API?
- How to define a query parameter with REST API?
- How do I correctly setup an AJAX nonce for WordPress REST API?
- WordPress Rest API: How do we validate with our custom API key?
- Adding WordPress API Endpoint With Multiple Parameters
- Using the REST API (v2) javascript client on a private namespaced route
- authentication issue with rest api – rest_cannot_create
- Match REST API post output from custom endpoint
- How to change user avatar using REST API?
- Does accessing WordPress via REST API affect the site stats and analytics?
- Build on same WordPress or different install?
- Testing custom API endpoint with class dependency
- How to properly add custom entities in Gutenberg
- REST API custom endpoint without authentication for POST method?
- CORS & Remote access to WP via RestAPI
- Create Session with JWT
- Not all featured image sizes available in Rest API
- WP API ignores filter parameter
- 403 Forbidden with gutenberg
- Detect if REST API is running
- Is it posible to use wp.data.select(‘core’) outside a block?
- Can you Use the Rest API to query a custom database table
- pagination in WP rest api
- How to use REST API to send user metadata?
- Can the new REST API now make WP into it’s own push notification server?
- Confused about AngularJS and WordPress
- Custom Rest API POST endpoint with conditionally required parameters
- Post API tax_relation field doesn’t work
- How to post an unserialized array via wordpress rest API as meta data
- Use the backbone.js client to save custom post type meta
- Override WordPress POST REST API
- Creating a custom endpoint for rest, I see the endpoint exists in the wp-json, but the request is returning 404
- WordPress + Vue — Single page app giving me 404s when I use query params
- No ‘Access-Control-Allow-Origin’ when call rest API
- Get subscribers via REST API and send post notification
- How to Get Featured Image from REST API?
- Allow “wp-admin” edit access through headless WP web application
- WordPress + REST API v2 and private pages Load by slug
- Change permissions on REST api?
- PHP: authenticate for a REST request?
- Is it Ok to restrict Access-Control-Allow-Origin for /wp-json requests?
- Validate rest-api call on create
- Error invalid parameters with REST API
- How to get featured image in WP rest api
- Authenticate current user to REST API
- rest api endpoint – accept diacritic characters
- WordPress REST API rest_comment_invalid_author Sorry, you are not allowed to edit ‘author’ for comments
- How to delete user using rest api without reassigning
- How to send the body in wp_remote_post as “raw”?
- Accessing private posts through REST API, same code that works in remote doesn’t in local
- REST API and filtering by meta value
- Rest API: trouble receiving response through script (browser and Postman display correctly)
- Advanced Access Manager: RESTful endpoint to refresh token
- Custom Endpoints not working
- Is there a way I can fetch the WordPress Developer Code References with an API?
- `WP_REST_Controller::get_endpoint_args_for_item_schema` Does Not Set `required` Property from Schema
- Pull in ALL posts from the last two weeks using Rest API
- 403 error when publishing a post in wordpress. Error => Publishing failed. The response is not a valid JSON response
- Error message: Response is not a valid JSON response
- How to use query parameters, as “_fields”, to filter data inside an array in the REST API?
- WordPress server banning IP
- Cannot use WordPress Application Passwords: “code”: “rest_no_route” “status”:404 for /wp-json/wp/v2/users/me/application-passwords
- Pass multiple tags slug to rest API
- Return a WP_REST_Response from an inner function (and not from the root callback)
- register_rest_route with method POST but in wp-json/ is showing GET
- wp_nonce vs jwt
- WP REST API returns empty posts despite entries in wp_posts
- Accessing Custom REST endpoint with rest_do_request()
- The REST API encountered an error in wordpress?
- Get wordpress post with featured image, category and tag from WordPress API
- Do something when publish a post in Gutenberg with hook rest_after_insert_post
- Uploading picture via REST API
- How to modify the HTML output of Gutenberg block? (Youtube)
- Extract XML/JSON element from Zillow API response and populate into Gravity Forms field
- Can I use REST API if the site is protected with .htpasswd
- REST API and Loopback error
- Rest API: Register and Login errors aren’t specific
- How can I secure my custom rest api endpoint or add under a already existing rest group
- WordPress single page website redirect to index.html
- How to get the most recently updated orders via the REST API?
- Fetching all users that didn’t post with rest api (current version 2)
- Autotrader API Integration
- WordPress RESTAPI – Restrict unknown
- WordPress Rest API Error 502
- Fix Characters WordPress Ionic App
- Accessing secure endpoint with X-WP-Nonce?
- Return all custom taxonomy terms for post in REST API v2? Currently limited to 10 terms
- Can we use website data which is having wp rest api plugin?
- how can I add an URL parameter to a rest route using register_rest_route()?
- Is it possible to bulk update a table using WP Rest API?
- Rest api request throttling
- Script tag in string in wordpress rest api body to create post
- Securing REST API wp-json/wp/v2/users endpoint
- Customizer Changeset, Sidebar and Rest API Custom Endpoints
- Rest API is running, but /wp-json/wp/v2/ shows only old dates
- Rest Api Error ‘ Error: {‘code’: ‘rest_no_route’, ‘message’: ‘No route was found matching the URL and request method.’, ‘data’: {‘status’: 404}}@ [closed]