What is the correct Syntax to add a customer ID as a URI parameter in the HTTP listener's path attribute?

Suggested Answer: C
Get Premium Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
URL parameters are always accessed using { } like => {customerID}
37 comments · newest first
DE
Derick
11 months ago
Wait, are we sure about #[customerID]? Sounds a bit off.
DO
Dortha
11 months ago
No way, it can't be (customerID). That doesn't make sense!
CE
Cecil
12 months ago
I’m pretty sure it’s {customerID}.
DA
Dannette
12 months ago
I thought it was $[customerID]?
PR
Precious
1 year ago
It's definitely #[customerID] for URI parameters!
AR
Arlyne
1 year ago
I’m leaning towards (customerID) but I don’t remember if that’s valid for URI parameters. It’s confusing!
HI
Hildegarde
1 year ago
I feel like I've seen {customerID} used in some examples, but I can't recall if that's the right way for HTTP listeners.
CA
Carol
1 year ago
I remember practicing a similar question, and I think it was something like $[customerID], but that might have been for a different context.
LO
Louann
1 year ago
I think the syntax should use the #[ ] format, but I'm not entirely sure if it's for URI parameters specifically.
EZ
Ezekiel
1 year ago
Ah, I remember learning this in class. The correct syntax is using the # symbol, like #[customerID]. That's how you reference a dynamic parameter in the URI path.
DE
Devorah
1 year ago
Ugh, I'm not sure about this one. The options all look similar, but I can't quite remember the right syntax off the top of my head. Guess I'll have to think it through step-by-step.
CA
Caren
1 year ago
Okay, let's see... I think the correct syntax is using curly braces, like {customerID}. That's how I've seen URI parameters represented in other examples.
TI
Tish
1 year ago
Hmm, this looks like a tricky one. I'll need to carefully review the syntax options to make sure I get this right.
RO
Rory
1 year ago
The threat assessment option sounds like the best approach here. Identifying potential threats to the cloud environment should be the top priority for the security team.
ME
Melvin
2 years ago
I'm not sure, but I think it might be C) {customerID} because it looks like a placeholder in curly braces
CE
Celeste
2 years ago
I agree with Sharmaine, A) #[customerID] makes sense because it uses the correct syntax for MuleSoft
LA
Lashunda
2 years ago
If the answer isn't {customerID}, I'm going to need a customer ID replacement program. That's the only way I'm passing this exam!
WE
Wenona
2 years ago
If the answer isn't {customerID}, I'm going to need a customer ID replacement program. That's the only way I'm passing this exam!
JU
Jutta
2 years ago
If the answer isn't {customerID}, I'm going to need a customer ID replacement program. That's the only way I'm passing this exam!
TA
Tamar
2 years ago
C) {customerID}
RO
Ronny
2 years ago
D) (customerID)
FL
Florinda
2 years ago
B) $[customerID]
LI
Linn
2 years ago
C) {customerID}
BE
Bette
2 years ago
B) $[customerID]
HA
Halina
2 years ago
A) #[customerID]
KA
Kassandra
2 years ago
A) #[customerID]
AN
Annita
2 years ago
Hmm, I'm torn between B) $[customerID] and C) {customerID}. I'll have to think about this one a bit more.
ME
Meaghan
2 years ago
I'm going with C) {customerID}. It just makes the most sense to me. The other options look a bit too fancy.
SH
Sharmaine
2 years ago
I think the correct syntax is A) #[customerID]
LU
Luz
2 years ago
Definitely {customerID}. That's the way I've seen it done in all the examples I've come across.
LY
Lyla
2 years ago
I've used (customerID) before and it worked fine
SH
Shelton
2 years ago
Are you sure? I believe it's $[customerID]
MI
Mindy
2 years ago
No, it's actually {customerID}
KR
Kristeen
2 years ago
I think it's #[customerID]
DA
Danilo
2 years ago
I think the correct syntax is {customerID}. It's the most standard way to include a parameter in a URI path.
AY
Ayesha
2 years ago
No, it's actually #[customerID].
ST
Staci
2 years ago
I believe the correct syntax is {customerID}.