Pesquisas recentes


Sem pesquisas recentes

Charan Raj -- SnapOne IT's Avatar

Charan Raj -- SnapOne IT

Entrou em 27 de set. de 2024

·

Última atividade em 27 de set. de 2024

Seguindo

0

Seguidores

0

Atividade total

1

Votos

0

Assinaturas

0

VISÃO GERAL DA ATIVIDADE

Atividade mais recente por Charan Raj -- SnapOne IT

Charan Raj -- SnapOne IT criou uma publicação,

Publicação 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)
});
	

Publicado 27 de set. de 2024 · Charan Raj -- SnapOne IT

0

Seguidores

0

Votos

1

Comentário