Actually I was able to figure out with a little modification to Rank’s answer:
https://www.example.com/?rest_route=/wp/v2/posts&categories=12
Related Posts:
- Strange behavior: random HTTP error 500 fixed by visiting Permalinks settings page (htaccess issue with language code)
- remove “index.php” from permalinks
- Get default permalink structure from pretty URL’s
- Can I use REST-API on plain permalink format?
- Creating custom permalink structure for languages
- Getting the Site URL Including the Front Base
- How to use relative links on my pages?
- WordPress Permalink changes to question mark (?) in URL
- How to prevent apostrophes and quotes from appearing in permalinks?
- Removing hierarchical pages in the permalink
- Update URL Snippet to Canonical Permalink URL
- “.#[random-char-string]” being inserted at end of URLs
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- WordPress on a subdirectory of Laravel – WordPress pretty permalinks inner page shows laravel
- Pretty Permalinks
- How to get url of a post from admin panel
- Why does /wp-json/ not work on the “plain” permalink structure?
- How to Remove Slug From Database?
- Remove subfolders from URL
- Limiting the number of words or characters in the slug/permalink
- flexible rewrite ‘ramble’ URLs with WordPress
- How to get the post id from a permalink?
- Change website URL without breaking links or images? WP 3.3
- Make attachment pages require a base url
- How to Remove -14 from WordPress URL (Permalink)
- Using ‘Primary Category’ in URL
- display URL or permalink instead of page title in dashboard
- custom permalink/shortlink with base62 encoded post ID
- How can I get the permalink of a post before it is published?
- Change permalink rule if category is called “uncategorized”
- Add a URL prefix to permalinks of News category and sub-categories of posts only
- Can two products with the same name but different category produce unique URLs?
- echo post-permalink without http and www
- Get canonical link
- Confusion about how a URL is being parsed
- Get closest page ID from URL
- CSS not loaded when omitting www. part of URL
- Setting up two separate blogs while using WordPress as a CMS
- Custom permalink for search and pagination
- Get page by path – honoring permalink settings (urls w/slashes)
- Change blog segment of URL
- How to stop WordPress from removing & from URL?
- Non latin post slug truncate
- How to bulk edit image url in featured image and product description?
- Is there a link parameter that will show me all my published pages?
- How to include sub directory in sitemap? [closed]
- Get the url of a page template without using the page slug and ID
- Remove -2 from URL; no duplicate pages, no images, no pages in trash
- WordPress keeps giving me the wrong permalink
- display dynamic content based on url slug on custom page
- How to generate a list of all urls
- Relative v.s. absolute URLs: which ones should I use for cross-domain portability?
- Permalinks settings
- mod-rewrite exception? keep #hash in matching urls?
- Unique one time use URL
- Edit permalink for certain pages
- cannot link a external url, present page url acting as parent url
- Suddenly new posts have the default permalink instead of the post name
- Getting back a permalink from custom url
- Two URLs of one post is available
- Bulk append URL (add word to slug)
- Access posts while mod_rewrite is broken
- Remove international characters from slug – Almost done – Bit help
- replicate url permalink after migrating to wordpress
- Can I change the URL structure for a CPT only?
- How to remove slug from front page?
- How do I structure my permalinks in WordPress?
- How to redirect old permalinks from https://exmaple.com/category/post_id to https://exmaple.com/category/post_id.html
- Make a post inaccessible without a unique ID in the URL
- Customize URL for specific tags archive
- Multiple Taxonomy Items for Separate URLs
- URL gives 404 error of my subfolder site when i change permalink
- How to construct a dynamic rewrite rule for child pages that passes more than one query var
- Why does one of my pages not have the option to edit the link?
- Using a template file for a specific custom URL
- Nested permalink without dummy parent page
- Giving specific category posts its own permalink structure returns 404
- Passing parameter through permalink structure
- Custom Taxonomy rewrite rule causes 404 error on page or single post depending on if it’s set to “True” or “False”
- Adding query string to multiple page urls in a WordPress function
- Post links broken after migration
- I have Akamai pointing to a WordPress installation with a different URL. Is there a way to make WordPress use this for link generation?
- Require advice handling a URL redirect from a Third Party. URL Params need to populate and then forward to payment
- Added a prefix in URL permalink structure but the old structure still working!
- rebuilding/ rewriting a url to make it SEO friendly
- add bar in paging in the URL
- WordPress Page URL
- Difference and usage of uri (e.g. get_directory_uri) and absolute path (e.g. get_directory)
- Imported posts using wrong domain name
- Issues with WordPress permalinks
- How to display post permalinks instead of pages?
- Using a taxonomy value as part of a post URL
- Why is there a # and other characters in URL for WordPress site?
- Update permalinks after domain change
- How to avoid duplicate Url for the home page
- Are custom page templates being used to get this permalink structure
- Include language variable in url
- Removing parent page in URL for one page
- Standard Htaccess directives disappear by themselves
- Change default URL (or permalinks) in the back-end