Right now (as of issue creation time) Quail lacks the ability to connect to the internet. It should have a built-in internet request library (for example like requests in Python).
Request function signature suggestion:
function get(
string url,
dict queryParameters={},
string|dict data={},
list files=[],
list cookies=[],
dict headers={},
dict|void auth=null,
num timeout=-1
) {}
which can return an object with response info (content-type, headers, cookies, body, etc.)
Similar functions are suggested for other HTTP methods (POST, PATCH, etc.)
Right now (as of issue creation time) Quail lacks the ability to connect to the internet. It should have a built-in internet request library (for example like
requestsin Python).Request function signature suggestion:
which can return an object with response info (content-type, headers, cookies, body, etc.)
Similar functions are suggested for other HTTP methods (POST, PATCH, etc.)