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

Tibco Exam TCP-BW6 Topic 4 Question 79 Discussion

Actual exam question for Tibco's TCP-BW6 exam
Question #: 79
Topic #: 4
[All TCP-BW6 Questions]

You need to create a RESTful service in TIBCO ActiveMatrix BusinessWorks for an employee resource that has the following fields: ID, FirstName, LastName, Salary. How should you configure the resource Service Path for a service that returns the employee resource by ID?

Show Suggested Answer Hide Answer
Suggested Answer: B, E

Contribute your Thoughts:

Alison
10 days ago
I'm not sure about the answer. Can someone explain why using curly braces is better than other options like square brackets or parentheses?
upvoted 0 times
...
Brett
11 days ago
I agree with Johanna. Using curly braces for the ID parameter in the service path makes it clear that it's a variable that will be replaced with the actual ID.
upvoted 0 times
...
Johanna
12 days ago
I think the correct answer is D) /employee/{id}. It's a common practice to use curly braces for dynamic parameters in RESTful services.
upvoted 0 times
...
Gertude
12 days ago
I think option D is the correct answer. The resource path should use curly braces to represent the dynamic ID parameter.
upvoted 0 times
...
Blythe
13 days ago
I'm not sure, but I think A) /employee/[id] could also work since it specifies the ID parameter in square brackets.
upvoted 0 times
...
Shawnee
14 days ago
I agree with Flo, using curly braces for the ID parameter is the standard RESTful convention.
upvoted 0 times
...
Flo
23 days ago
I think the correct answer is D) /employee/{id)
upvoted 0 times
...

Save Cancel