Hi,
Using the following curl command to post to our forum from bash
curl -X POST -H "Content-Type: application/json" --data @/tmp/json.json "https://my.forum/posts?api_key=$API_KEY&api_username=$UN"
where json.json contains…
{
"title": "test post",
"category": "cat/subcat",
"raw": "test post"
}
This works fine when sending to just a category, but when I try to send to a sub category, as shown above, the post is created without a category, so that everyone on the forum appears to see it
Anything special I need to set to get the post to correct be sent to a sub category