Javascript
Calling the REST API from LWC
This article shows how to call REST endpoints from lightning web components.
The following example will get the IP Address of the current user and callout to get country code from third party service.