title: How to include META fields in Wordpress API Post?
body: <p>I am using Wordpress version 5.2.1 which means I am not using a plugin for the WP API. I have working code which creates a new post (using a custom post type) on my WP site, all good there. The problem is that i've created custom fields using ACF, but they're not appearing in the newly created post. The following is an example of what I am sending to WP via: <code>/wp-json/wp/v2/experience</code>.</p>
  
  <p>Note: <code>experience</code> is my custom post type.</p>
  
  <pre><code>{'title': 'test', 'content': 'testing from python', 'status': 'draft', 'author': 1, 'meta': {'location': 'NYC', 'date': 'never', 'event_url': 'http://google.com'}, 'featured_media': 1221}
  </code></pre>
  
  <p>This creates a post, but the fields inside of <code>meta</code> are completely ignored. My goal is to have the fields I specify in <code>meta</code> be included in my newly created post .</p>
  
  <p>I have tried the solutions listed at the following URLs and nothing has worked. </p>
  
  <p><a href="https://gist.github.com/rileypaulsen/9b4505cdd0ac88d5ef51" rel="noreferrer">https://gist.github.com/rileypaulsen/9b4505cdd0ac88d5ef51</a></p>
  
  <p><a href="https://stackoverflow.com/questions/44233659/wordpress-rest-api-custom-fields#45637172">Wordpress Rest API - Custom Fields</a></p>
  
  <p><a href="https://jeffreyeverhart.com/2017/06/14/adding-custom-fields-wordpress-json-api/" rel="noreferrer">https://jeffreyeverhart.com/2017/06/14/adding-custom-fields-wordpress-json-api/</a></p>
  
  <p>What am I missing?</p>