Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python http post file

import httpy
2resp = httpy.request("https://example.com/", method = "POST", body = { "foo" : "bar", "file" : httpy.File.open( "example.txt" ) })
3# ...
Source by httpy.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #python #http #post #file
ADD COMMENT
Topic
Name
6+5 =