Proper format for rest-hook Subscription headers
# support
d
Hey Medplum Team, I'm setting up a rest-hook Subscription on Encounter creations to contact an endpoint for sending push notifications. For handling authentication on this endpoint we would like to pass some auth headers from the Subscription, but I am seeing that the
header
field of
channel
accepts an array of strings. What is the proper format for this array of strings for passing an authorization header? Something like
["Authorization=bearer <TOKEN>"]
?
I figured it out, proper syntax is
authorization:Bearer <token>
168 Views