This is possibly due to redirect done by the rdap server to a different RIR. While postman handles the redirect the http client does not. You can confirm this by placing a curl request in verbose mode.