Hello im trying to make an auto message pumping system and i need to make a post request to the api to add the topic , currently im trying :
axios.post("https://www.DOMAIN.com/api/index.php/forums/topics",{ params: {
key: 'MYAPIKEY',
forum: '79',
title: 'pumping test',
post: 'pumping test',
author: '1',
}}).then((res)=>{}).catch((err) =>{
console.log(err)
})
And im getting a NO_API_KEY response :
data: { errorCode: '2S290/6', errorMessage: 'NO_API_KEY' }
Anyone has an idea how i should be adding the params ?