BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Salesforce MuleSoft Developer I Topic 2 Question 17 Discussion

Actual exam question for Salesforce's Salesforce MuleSoft Developer I exam
Question #: 17
Topic #: 2
[All Salesforce MuleSoft Developer I Questions]

Refer to the exhibits. Client sends the request to ClientRequestFlow which calls ShippingFlow using HTTP Request activity.

During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown whenever client sends request to this flow.

What attribute you would change in ClientRequestFlow to make this implementation work successfully?

Show Suggested Answer Hide Answer
Suggested Answer: C

Correct answer is Change the method attributes value to 'POST'.

It can be fixed in either of the two ways as below.

1) Changing method attribute to POST in ClientRequestFlow

2) Setting allowedMethods as PUT in ShippingFlow (but doesn't fit as question mentions about changing ClientRequestFlow)


Contribute your Thoughts:

Alisha
30 days ago
Ah, the classic HTTP:METHOD_NOT_ALLOWED error. Happens to the best of us. Option C is the way to go, unless you want to be 'shipp-ing' your troubles to someone else.
upvoted 0 times
...
Marjory
1 months ago
Wait, what if the client is trying to send a GET request? Then Option C wouldn't work. Better keep it flexible with Option A, who knows what the client might try next?
upvoted 0 times
Lavonda
17 days ago
Alease is right, let's keep it flexible with Option A.
upvoted 0 times
...
Alease
19 days ago
But what if the client is trying to send a GET request?
upvoted 0 times
...
Kristal
21 days ago
I think we should change the method attribute value to '*'.
upvoted 0 times
...
...
Lorenza
1 months ago
Option D is definitely not the right choice here. HTTPS is for secure communication, not fixing a method mismatch. I agree with the other candidates, Option C is the way to go.
upvoted 0 times
Tom
4 days ago
I see your point, but I still think Option C is the best choice, changing the allowed method attributes value to 'POST'.
upvoted 0 times
...
Lorean
7 days ago
I disagree, Option B seems more appropriate, changing the path attribute value to '/api/ship'.
upvoted 0 times
...
France
19 days ago
I think Option A might work too, changing the method attribute value to '*'.
upvoted 0 times
...
...
Ronnie
2 months ago
I think changing the allowed method attributes value to 'POST' might also work, as it specifies the method allowed for the request.
upvoted 0 times
...
Catarina
2 months ago
Hmm, I'm not sure about that. Changing the method attribute to '*' might work, but it's a bit of a broad solution. I'd lean towards Option C to be more specific.
upvoted 0 times
Orville
16 days ago
Changing the method attribute to '*' could work, but Option C is more focused on the specific issue.
upvoted 0 times
...
Paul
30 days ago
I agree, Option C seems like a targeted solution to the HTTP:METHOD_NOT_ALLOWED error.
upvoted 0 times
...
Ciara
1 months ago
I think Option C is the way to go. It specifies the allowed method more precisely.
upvoted 0 times
...
...
Wilda
2 months ago
The issue seems to be with the HTTP method, so I think Option C is the way to go. Changing the allowed method to POST should resolve the problem.
upvoted 0 times
Willard
23 days ago
Let's try changing the protocol attribute value to \'HTTPS\' and see if that resolves the error.
upvoted 0 times
...
Regenia
1 months ago
I think changing the method attribute value to \'*\' might also work.
upvoted 0 times
...
Frank
1 months ago
But what if we change the path attribute value to \'/api/ship\' instead?
upvoted 0 times
...
Alonzo
1 months ago
I agree, changing the allowed method to POST should fix the issue.
upvoted 0 times
...
...
Sherita
2 months ago
I agree with Brett, changing the method attribute value should solve the issue.
upvoted 0 times
...
Brett
2 months ago
I think the correct attribute to change is the method attribute value to '*'.
upvoted 0 times
...

Save Cancel