Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam - Topic 7 Question 14 Discussion

Posted by Honey on Sep 13, 2024 at 05:40 AM

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

Suggested Answer: C

URL parameters are always accessed using { } like => {customerID}


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
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
↳ replying to Lashunda
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
↳ replying to Lashunda
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
↳ replying to Lashunda
C) {customerID}
RO
Ronny 2 years ago
↳ replying to Lashunda
D) (customerID)
FL
Florinda 2 years ago
↳ replying to Lashunda
B) $[customerID]
LI
Linn 2 years ago
↳ replying to Lashunda
C) {customerID}
BE
Bette 2 years ago
↳ replying to Lashunda
B) $[customerID]
HA
Halina 2 years ago
↳ replying to Lashunda
A) #[customerID]
KA
Kassandra 2 years ago
↳ replying to Lashunda
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
↳ replying to Luz
I've used (customerID) before and it worked fine
SH
Shelton 2 years ago
↳ replying to Luz
Are you sure? I believe it's $[customerID]
MI
Mindy 2 years ago
↳ replying to Luz
No, it's actually {customerID}
KR
Kristeen 2 years ago
↳ replying to Luz
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
↳ replying to Danilo
No, it's actually #[customerID].
ST
Staci 2 years ago
↳ replying to Danilo
I believe the correct syntax is {customerID}.
0/2000 characters

Save Cancel