REST API endpoints (2.2)
This document assumes you have already created an API key and setup the necessary headers for your request. Learn more about using the API.
xenforo.com
Dear XenForo Support Team,
I'm trying to follow the API documentation for the "Uploads an attachment" and "Creates a new attachment key" endpoints. However, I'm still getting some errors, such as "Required input missing: type" when trying to create the attachment key.
Could you please provide me with some sample code or step-by-step instructions on how to properly use the XenForo API to upload images and associate them with forum posts?
Thank you in advance for your help.