GET request working through Python but not through Postman
问题 I am trying to use the Mailman 3 REST API, but I need to call it from Spring's Rest Template in a java class, or for testing purpose from Postman. In Python, I can call the API by: >>> from httplib2 import Http >>> headers = { ... 'Content-Type': 'application/x-www-form-urlencode', ... 'Authorization': 'Basic cmVzdGFkbWluOnJlc3RwYXNz', ... } >>> url = 'http://localhost:8001/3.0/domains' >>> response, content = Http().request(url, 'GET', None, headers) >>> print(response.status) 200 I want to