add method

add

Add the content to the MultipartFormDataContent class

def add(self, content):
    ...
ParameterTypeDescription
contentContentThe content.

add

Add the content to the MultipartFormDataContent class with field name parameter

def add(self, content, name):
    ...
ParameterTypeDescription
contentContentThe content.
namestrThe field name.

add

Add the content to the MultipartFormDataContent class with field and file name parameter

def add(self, content, name, file_name):
    ...
ParameterTypeDescription
contentContentThe content.
namestrThe field name.
file_namestrThe file name.

See Also