Stream: Covid-19 Response
Topic: custom header in request
sean zitello (May 07 2020 at 15:03):
This is informal survey about clients that access APIs. In my standard API framework, I prefer to use a custom header to direct the request through the back-end. There were good reasons for that in the development of FHIR oriented workflows. Thats fine in Postman but I don't know if this is generally true with REST clients. Would including a custom header be problematic for anyone that will be making requests to my API for Connectathon. It is always a single custom header named 'add-service-properties' and contains a valid JSON string.
Michael Donnelly (May 08 2020 at 16:14):
I'm sure I could figure out a way to do it, but it wouldn't be my first priority during the event.
Josh Mandel (May 08 2020 at 16:52):
From my experience: a service that requires extra headers (especially non-standard headers) is going to make it much harder for folks to test with your service (and if there are other services available to test with, often people will skip your service if it has "extra requirements").
Last updated: Apr 12 2022 at 19:14 UTC