Good Evening,
I'm attempting to connect Alteryx to the Open People Search API. Here is the curl:
curl -X POST "https://api.openpeoplesearch.com/api/v1/Consumer/PhoneSearch" -H "accept: text/plain" -H "Authorization: Bearer ****************************************" -H "Content-Type: application/json" -d "{\"phoneNumber\":\"123456789\"}"
I'm trying to use the text tool + the download tool to get this started. I tried to feed the data to the download like such but I get a bad request error. Any ideas?
URL https://api.openpeoplesearch.com/api/v1/Consumer/PhoneSearch
Header 1 accept: text/plain
Header 2 Authorization: Bearer **************************************** The * symbols were replaced with a valid token.
Header 3 Content-Type: application/json
Payload {\"phoneNumber\":\"123456789\"}
Error
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid Header</h2>...
Any ideas on what I could adjust?