<@U0RQY0KK5> commented on <@U4KES2J7P>’s file <htt...
# prisma-whats-new
u
@nilan commented on @hvillain’s file https://prisma.slack.com/files/U4KES2J7P/F4Q5393UG/no_body_returned_from_webtask_request.txt:
Copy code
<http://request.post|request.post>({
  url:'endpoint',
  headers: {
    'Authorization' : token,
    'content-type': 'application/json',
  },
  body: JSON.stringify({query: checkExistingPublicProfile, variables : {"phoneNumber":phoneNumber}}),
  }, function cb(error, response, body) {
    if (err) {
      console.log('failed:', err)
    }
    console.log('body:', body);
});