curl --request POST \
--url https://revive-api-v2-production.herokuapp.com/v1/referrals/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"referralType": "buyer",
"clientEmail": "<string>",
"city": "<string>",
"listingAddress": "<string>",
"zipCode": "<string>",
"latitude": "<string>"
}
'curl --request POST \
--url https://revive-api-v2-production.herokuapp.com/v1/referrals/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"referralType": "buyer",
"clientEmail": "<string>",
"city": "<string>",
"listingAddress": "<string>",
"zipCode": "<string>",
"latitude": "<string>"
}
'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success