I'm trying to set up endpoints.bxb with a remote endpoint but it is giving me an error... I haven't been able to figure out why it is showing up. I'm doing exactly the same as the Github example http-master.
ERROR Unknown key: 'headers'
endpoints {
authorization {
none
}
action-endpoints {
action-endpoint(Find) {
accepted-inputs ()
remote-endpoint ("{remote.url}/find") {
method (POST)
}
headers {
header (Content-Type: application/json)
}
}
}
}