XenForo
Administrative
- Thread starter
- Admin
- #1
Hello I am trying to update my profile via the API while using Node.js with Axios.
Here is my code, the header seems to be working just find and Axios objects seems to be creating properly.
...
Read more
ادامه مطلب...
Here is my code, the header seems to be working just find and Axios objects seems to be creating properly.
| const axios = require('axios'); const qs = require('qs'); const website = axios.create({ baseURL: 'http://website.com/api/', headers: { 'XF-Api-Key': 'apikey', 'Content-Type': 'application/x-www-form-urlencoded', 'XF-Api-User': '1', } }); |
Read more
ادامه مطلب...