Recent searches


No recent searches

Charan Raj -- SnapOne IT's Avatar

Charan Raj -- SnapOne IT

Joined Sep 27, 2024

·

Last activity Sep 27, 2024

Following

0

Followers

0

Total activity

1

Votes

0

Subscriptions

0

ACTIVITY OVERVIEW

Latest activity by Charan Raj -- SnapOne IT

Charan Raj -- SnapOne IT created a post,

Post Developer - Zendesk Apps Framework (ZAF)

Hi,

I'm sending a POST request in Node.js using client.request as shown below:

However, the response status alternates between 406 if i use .json at the end and 200 if i dont use.json, but the data isn't being inserted. It works fine when using Postman.

client.request({
  url: `api/v2/users/${user.id}/identities`,
  type: "POST",
  contentType: 'application/json',
  data: JSON.stringify(data)
});
	

Posted Sep 27, 2024 · Charan Raj -- SnapOne IT

0

Followers

0

Votes

1

Comment