What’s the difference between Postman get and javascript fetch get?

Does anyone know how can I replicate the postman http request settings in javascript?

My REST API response in postman is perfect, but if I try it with javascript fetch with the same method, parameters, url, I get an error.