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

Microsoft MB-820 Exam - Topic 1 Question 4 Discussion

Actual exam question for Microsoft's MB-820 exam
Question #: 4
Topic #: 1
[All MB-820 Questions]

A company has a Business Central online environment.

You need to create an HTTP GET request that connects to an external REST service.

Which solution should you use?

Show Suggested Answer Hide Answer
Suggested Answer: E

To create an HTTP GET request that connects to an external REST service in a Business Central online environment, the solution to use is the HttpClient data type variable (E). The HttpClient data type in AL language is designed for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. This makes it the ideal choice for interfacing with external REST services, as it provides the necessary methods and properties to configure and execute HTTP GET requests, handle the responses, and process the data returned by the REST service. This approach is more direct and flexible compared to using specific codeunits like 'Web Request Helper' (B) or 'Http Web Request Mgt' (D), which might not provide the same level of control or specificity needed for RESTful interactions.


Contribute your Thoughts:

0/2000 characters
Linn
4 months ago
Really? I thought C was the right choice for handling JSON!
upvoted 0 times
...
Odette
4 months ago
I agree with B, it's specifically designed for web requests.
upvoted 0 times
...
Kyoko
4 months ago
Wait, isn't A also a valid option for simple requests?
upvoted 0 times
...
Filiberto
4 months ago
I think E is better, 'HttpClient' is more versatile.
upvoted 0 times
...
Lenna
5 months ago
Definitely B, 'Web Request Helper' is the go-to for this!
upvoted 0 times
...
Tyisha
5 months ago
I vaguely recall that Codeunit 1299 was more about handling responses rather than making requests. So, I don't think that's it.
upvoted 0 times
...
Sean
5 months ago
I feel like HttpContent might be more for sending data rather than just getting it. I’m leaning towards something else.
upvoted 0 times
...
Gianna
5 months ago
I'm not entirely sure, but I remember something about Codeunit 1297 being mentioned in a similar question. Could it be the one we need?
upvoted 0 times
...
Erinn
5 months ago
I think we used the HttpClient data type in one of our practice scenarios for making GET requests. It seems like the right choice here.
upvoted 0 times
...
Yesenia
5 months ago
I'm not too familiar with the specifics of these options, but I think I'll go with option B. The 'Web Request Helper' codeunit sounds like it might be the most straightforward solution for this scenario.
upvoted 0 times
...
Ellen
5 months ago
I'm leaning towards option D, Codeunit 1297 'Http Web Request Mgt'. That seems like it might provide a bit more flexibility and control over the request process.
upvoted 0 times
...
Cecilia
5 months ago
Option E, the HttpClient data type variable, looks promising. I've used that before for making HTTP requests, so I'm confident that would work well here.
upvoted 0 times
...
Lavonna
5 months ago
Hmm, I'm a bit unsure about this one. I'll need to review the documentation on the different options to make sure I understand the differences between them.
upvoted 0 times
...
Jeniffer
5 months ago
I think I'll go with option B. Codeunit 1299 'Web Request Helper' seems like the most straightforward way to handle an HTTP GET request in Business Central.
upvoted 0 times
...
Whitney
6 months ago
Hmm, I'm not entirely sure about this one. I'll have to review my notes on customs procedures and data security to try to figure out the best answer.
upvoted 0 times
...
Matthew
6 months ago
I'm a bit unsure about this one. I know VARCLUS is used for variable clustering, but I'm not sure if it can handle missing values in a regression context.
upvoted 0 times
...
Georgene
2 years ago
HttpContent data type variable could be a simple solution for sending and receiving HTTP content. It's worth considering.
upvoted 0 times
...
Wynell
2 years ago
I prefer using HttpClient data type variable. It's more modern and versatile for making HTTP requests.
upvoted 0 times
...
Enola
2 years ago
I disagree. Codeunit S459 'JSON Management' could also be a good option because it helps with handling JSON data.
upvoted 0 times
...
Cecilia
2 years ago
I think we should use Codeunit 1299 'Web Request Helper'. It's specifically designed for making HTTP requests.
upvoted 0 times
...
Ailene
2 years ago
You guys are really overthinking this. It's obviously C - Codeunit S459 'JSON Management'. I mean, if we're connecting to an external REST service, we're probably going to be dealing with JSON data, right? This codeunit is made for that.
upvoted 0 times
...
Mira
2 years ago
Nah, I don't think B is the right answer. Didn't we learn in class that the Web Request Helper is more for handling SOAP requests? I'm leaning towards D - Codeunit 1297 'Http Web Request Mgt'. Sounds like it's specifically designed for this kind of HTTP GET scenario.
upvoted 0 times
Arlette
2 years ago
Great choice! Codeunit 1297 'Http Web Request Mgt' should work perfectly for connecting to the external REST service.
upvoted 0 times
...
Edelmira
2 years ago
I'm convinced. Let's go with D - Codeunit 1297 for creating the HTTP GET request.
upvoted 0 times
...
Willard
2 years ago
Yeah, you're right. Codeunit 1297 'Http Web Request Mgt' seems to be the most appropriate solution for this scenario.
upvoted 0 times
...
Novella
2 years ago
I don't think HttpClient is the right choice. D seems more specific to handling HTTP GET requests.
upvoted 0 times
...
Wenona
2 years ago
I'm not sure about D. Maybe E could also work. HttpClient variable might be a good choice for this.
upvoted 0 times
...
Celeste
2 years ago
I agree. Codeunit 1297 'Http Web Request Mgt' sounds like the best solution for connecting to an external REST service.
upvoted 0 times
...
Mira
2 years ago
I think D is the right answer. Codeunit 1297 seems to be the most suitable for creating an HTTP GET request.
upvoted 0 times
...
...
Yoko
2 years ago
I'm not so sure about that. What about B - Codeunit 1299 'Web Request Helper'? I feel like that might be a more straightforward way to handle this kind of HTTP request.
upvoted 0 times
...
Salina
2 years ago
Hmm, this is a tricky one. I'd say the answer is probably E - HttpClient data type variable. That's the built-in data type in Business Central for making HTTP requests, right?
upvoted 1 times
...

Save Cancel