Hi Frank, The ATM team will respond soon. By the way, there is also the explorer-try it where you can also do API Testing. It is pretty neat and easy to use as well. The reason why there are different tooling around, they serve different purpose. The edit API->Test and Debug(Test tools) is focus on tracing and debugging with the Gateway probe. As Chris mentioned, we are working on a new Test Tool to better user experience - especially with support of OAI3.
------------------------------
Ivy Ho
------------------------------
Original Message:
Sent: Fri October 06, 2023 08:15 AM
From: Frank Ning
Subject: Test APIs - HTTP Client - How to pass path variable?
Thanks for your response, Chris and Ivy.
I have no issue with path parameter in API's test tab as shown below

However, in the "Test APIs" interface, no option to specify to use path parameter. The "Parameter" part is really for query parameter. I am not able to use it to pass path parameter.

Thanks and regards
Frank
------------------------------
Frank Ning
Technical consultant - solution architect
Toronto ON
Original Message:
Sent: Fri October 06, 2023 07:57 AM
From: Chris Dudley
Subject: Test APIs - HTTP Client - How to pass path variable?
Hiya Frank
I tried this myself and had the same issue as you. For what its worth I could get it working for OAI2 APIs but not OAI3. I have raised a bug on our UI team to investigate it further. A new revamped test tool is coming later this year, but the existing one should be fixable for this too.
------------------------------
Chris Dudley
Original Message:
Sent: Thu October 05, 2023 08:05 PM
From: Frank Ning
Subject: Test APIs - HTTP Client - How to pass path variable?
Hello,
I tried to pass a path variable with the HTTP Client on "Test APIs". It seems that the client only support parameter (key=value in URL) or header, but does not support path variable?
For example, in postman, I can use the following URL with path variable "id" and pass the path variable value with path variable definition.
https://hapi.fhir.org/baseDstu3/Patient/:id
Does the HTTP Client support path variable?
Thanks and regards
Frank
------------------------------
Frank Ning
Technical consultant - solution architect
Toronto ON
------------------------------