Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
curl -X POST \
https://kong.poc-dev-us-east1.kw.com/search \
-H 'Accept: application/json' \
-H 'Authorization: Bearer E0L17SSxMSNfnak5xuL_JZ1aBuU' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"type": "domain",
"id": "patience-test",
"attributes": [
{
"name": "first_name",
"type": "text"
},
{
"name": "last_name",
"type": "text"
},
{
"name": "emails",
"type": "text"
},
{
"name": "age",
"type": "integer"
},
{
"name": "primary_phone",
"type": "phone"
},
{
"name": "addresses.city",
"type": "text"
},
{
"name": "addresses.city_2",
"type": "text"
},
{
"name": "addresses.lat",
"type": "float"
},
{
"name": "addresses.lng",
"type": "float"
},
{
"name": "addresses.is_current",
"type": "boolean"
},
{
"name": "data",
"type": "object"
}
]
}
}
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.