How to POST – not only GET
-
Hello,
I’m trying to make an external function that “writes” some information into my wordpress. When I make a CURL with the POST, the only fields that it writes are the standar ones, not the custom fields that appears on “rest_api_enabler”.
It’s possible to make a POST with custom fields with this plugin?
Thanks in advance.
PS: my json is like this:
{ 'title': Test!', 'content': 'Hello World', 'status': 'publish', 'author': 3, 'featured_media': 21, 'sticky': true, 'comment_status': 'closed', 'rest_api_enabler': { 'movies_length': '94', 'event_country': 'USA', 'event_year': '2016', 'event_imdb_rating': '5.9' } }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to POST – not only GET’ is closed to new replies.