Create job post via POST request from REST API
-
I’m working with the WordPress API and have been successful in sending jobs into the
job-listingsendpoint, but not in getting them to show up. I’ve already referenced this similar thread. I’m submitting jobs in a similar fashion to that other support thread with a title, content, a status of “publish”, and with the Content-Type specified as “application/json” in the headers.The jobs successfully post, give a 201 response through the API, and show up in the Job Manager dashboard. However, they show up without the title, and are therefore hidden from public view. I have to then edit the post and re-provide the title manually.
At the moment, I’m just running test via Postman until I find a working model. There doesn’t seem to be any additional documentation available on the plugin website about this, and sending an OPTIONS request to that endpoint does not outline fields required for sending a POST.
The topic ‘Create job post via POST request from REST API’ is closed to new replies.