https
from Extra Module
Added on Pylo 2.2
Disabled on Pylo 3.0
If need on Pylo 3.0 or later, Please add pylo.modules.enable("https")
to code.
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()
This Function is Available but Not Working Reason: Cannot use Returned Content on Pylo
https.post.json()
This Function is Available but Not Working Reason: Cannot use Returned Content on Pylo
Last updated