So Is there a way to call the rest api end point from LWC JS without
any user credentials or tokens, like we make apex http callout to rest
end point using named credential ?
In apex, you would make a named credential callout as shown in the code snippet below:
HttpRequest req = new HttpRequest();
This means that the
setEndpoint method of
HttpRequest object takes the responsibility of identifying the named credential and passing the auth tokens along with the request.
Note: You could write a generic LWC utility which would invoke the apex code and create a web request, but that wouldn't require you to use fetch or xhr.