cURL works while accessing GitHub /search/users API but using restTemplate.exchange returns zero users

I have defined a RestTemplate backed HttpClient to call Github API to search users My method is this public List fetchPublicInformation(String firstName, String lastName, String location) {…