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

What is the correct Syntax to add a customer ID as a URI parameter in the HTTP listener's path attribute?
C) {customerID}
A) #[customerID]
B) $[customerID]
D) (customerID)

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

Actual exam question for Salesforce's Salesforce Certified MuleSoft Developer (Mule-Dev-201) exam
Question #: 14
Topic #: 7
[All Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: C

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


Contribute your Thoughts:

0/2000 characters
Derick
8 months ago
Wait, are we sure about #[customerID]? Sounds a bit off.
upvoted 0 times
...
Dortha
8 months ago
No way, it can't be (customerID). That doesn't make sense!
upvoted 0 times
...
Cecil
8 months ago
I’m pretty sure it’s {customerID}.
upvoted 0 times
...
Dannette
9 months ago
I thought it was $[customerID]?
upvoted 0 times
...
Precious
9 months ago
It's definitely #[customerID] for URI parameters!
upvoted 0 times
...
Arlyne
9 months ago
I’m leaning towards (customerID) but I don’t remember if that’s valid for URI parameters. It’s confusing!
upvoted 0 times
...
Hildegarde
9 months 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.
upvoted 0 times
...
Carol
9 months ago
I remember practicing a similar question, and I think it was something like $[customerID], but that might have been for a different context.
upvoted 0 times
...
Louann
9 months ago
I think the syntax should use the #[ ] format, but I'm not entirely sure if it's for URI parameters specifically.
upvoted 0 times
...
Ezekiel
9 months 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.
upvoted 0 times
...
Devorah
9 months 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.
upvoted 0 times
...
Caren
9 months 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.
upvoted 0 times
...
Tish
10 months ago
Hmm, this looks like a tricky one. I'll need to carefully review the syntax options to make sure I get this right.
upvoted 0 times
...
Rory
10 months 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.
upvoted 0 times
...
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
upvoted 0 times
...
Celeste
2 years ago
I agree with Sharmaine, A) #[customerID] makes sense because it uses the correct syntax for MuleSoft
upvoted 0 times
...
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!
upvoted 0 times
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!
upvoted 0 times
...
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!
upvoted 0 times
...
Tamar
2 years ago
C) {customerID}
upvoted 0 times
...
Ronny
2 years ago
D) (customerID)
upvoted 0 times
...
Florinda
2 years ago
B) $[customerID]
upvoted 0 times
...
Linn
2 years ago
C) {customerID}
upvoted 0 times
...
Bette
2 years ago
B) $[customerID]
upvoted 0 times
...
Halina
2 years ago
A) #[customerID]
upvoted 0 times
...
Kassandra
2 years ago
A) #[customerID]
upvoted 0 times
...
...
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.
upvoted 0 times
...
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.
upvoted 0 times
...
Sharmaine
2 years ago
I think the correct syntax is A) #[customerID]
upvoted 0 times
...
Luz
2 years ago
Definitely {customerID}. That's the way I've seen it done in all the examples I've come across.
upvoted 0 times
Lyla
2 years ago
I've used (customerID) before and it worked fine
upvoted 0 times
...
Shelton
2 years ago
Are you sure? I believe it's $[customerID]
upvoted 0 times
...
Mindy
2 years ago
No, it's actually {customerID}
upvoted 0 times
...
Kristeen
2 years ago
I think it's #[customerID]
upvoted 0 times
...
...
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.
upvoted 0 times
Ayesha
2 years ago
No, it's actually #[customerID].
upvoted 0 times
...
Staci
2 years ago
I believe the correct syntax is {customerID}.
upvoted 0 times
...
...

Save Cancel