.json extension is optional.curl --location --globoff 'https://.daftara.com/api2/bookings/convert_to_invoice/172' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'{
"result": "successful",
"code": 202,
"id": "462"
}