[RSS Feed/News] How can I create thread via API

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
How can I create thread via API
I try with curl :

curl --location --request POST 'https://mydomani/api/threads/' \
--header 'XF-Api-Key: apikey' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: xf_csrf=2BhTuRMyMgJeLU--' \
--data-urlencode 'message=test' \
--data-urlencode 'node_id=5' \
--data-urlencode 'tags=["hinovel","thẩm kiều thuận","tổng giám đốc bạc tỷ không dễ chọc","truyện full app","vietwriter"]' \
--data-urlencode 'prefix_id=2' \...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom