https

from Extra Module

Supports not only HTTPS but also HTTP

https.get.save()

Download file and Save (Get Method)

https.get.save("https://example.com/", "example.html")

Python

r = requests.get(url)
with open(path, 'wb') as saveFile:
    saveFile.write(r.content)

https.post.save()

Download file and Save (Post Method)

https.post.save("https://example.com/", "example.html")

Python

r = requests.post(url)
with open(path, 'wb') as saveFile:
    saveFile.write(r.content)

https.get.text()

Download file and Return as Text (Get Method)

var text1 = https.get.text("https://example.com/")

Python

r = requests.get(url)
return r.text

https.post.text()

Download file and Return as Text (Post Method)

var text2 = https.post.text("https://example.com/")

Python

r = requests.post(url)
return r.text

https.get.json()

https.post.json()

Last updated