Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Charan Raj -- SnapOne IT's Avatar

Charan Raj -- SnapOne IT

Beigetreten 27. Sept. 2024

·

Letzte Aktivität 27. Sept. 2024

Folge ich

0

Follower

0

Gesamtaktivitäten

1

Stimmen

0

Abonnements

0

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von Charan Raj -- SnapOne IT

Charan Raj -- SnapOne IT hat einen Post erstellt

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)
});
	

Gepostet 27. Sept. 2024 · Charan Raj -- SnapOne IT

0

Follower

0

Stimmen

1

Kommentar