I'm trying to make a GET request for a REST api using PycURL. I am able to successful make a request if I do not pass any parameters. I am also able to make a POST request by doing the following:
curl.setopt(pycurl.POSTFIELDS, post_data)
I want to make a get request that includes login parameters. If I try to use the line above to pass the parameters, it tries to make a POST instead. I can't figure out how to set the login parameters and make a GET request.
Any help would be appreciated.