Prerequisites:
- Install the WP REST API plugin
- Install the plugin ACF to REST API V2
- Note: another plugin ‘ACF to WP API’ didn’t work for me
- Install the Chrome plugin Postman
Make it work
- Create a Custom post Type
- Set Show in REST API to TRUE
- enter a REST API base slug (need this for your requests)
- Create some ACF fields for the custom post type
- Create a Custom post
- Test the API in Postman:
GET http://localhost/sitename/wp-json/wp/v2/rest-api-base-slugYou should see a json file with acf fields