Before we start, we need to hack into the JSON-API plugin, as it doesn't support the input of
custom_fields while creating posts.
Follow these steps to hack into the JSON-API plugin:
wp-content/pluginsfolder and open up the
JSON-API pluginfolder. Then, go into the
Controllersfolder and open the