Skip to content Skip to sidebar Skip to footer

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:

Solution 1:

To fix curl command, use the -H parameter seperately.

curl -H "Content-Type: application/x-form-urlencoded" -H "Authorization: Basic cmVzdGFkbWluOnJlc3RwYXNz" http://localhost:8001/3.0/domains

Post a Comment for "Get Request Working Through Python But Not Through Postman"