FlightAware Discussions

RegisterAlertEndpoint ~ "error": "INVALID: Bad address: unknown scheme 'missing-protocol' in ''"

I am getting an error when calling RegisterAlertEndpoint

"error": "INVALID: Bad address: unknown scheme 'missing-protocol' in ''"

my body for the request is:

{
“address”: “https://somedomain.net/updateMilestones”,
“format_type”: “json/post”
}

The POST body of all FlightXML requests should be FORM style encoding not a JSON array. You can also send the arguments as GET as part of the request URL.

address=https://somedomain.net/updateMilestones&format_type=json/post

1 Like

great thanks I see now