Add user-agent to Wordpress node

This commit is contained in:
Jan Oberhauser 2021-08-18 13:13:31 +02:00
parent 967aabbf55
commit 7ef2934626

View file

@ -22,6 +22,7 @@ export async function wordpressApiRequest(this: IExecuteFunctions | IExecuteSing
headers: { headers: {
Accept: 'application/json', Accept: 'application/json',
'Content-Type': 'application/json', 'Content-Type': 'application/json',
'User-Agent': 'n8n',
}, },
auth: { auth: {
user: credentials!.username as string, user: credentials!.username as string,