curl --request POST \
--url https://revive-api-v2-production.herokuapp.com/v2/analyze/create-report \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"photos": [
"<unknown>"
],
"address": "<string>",
"state": "<string>",
"bathroom": 123,
"yearBuilt": 123,
"createdBy": {}
}
'curl --request POST \
--url https://revive-api-v2-production.herokuapp.com/v2/analyze/create-report \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"photos": [
"<unknown>"
],
"address": "<string>",
"state": "<string>",
"bathroom": 123,
"yearBuilt": 123,
"createdBy": {}
}
'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success