BE_HTTP_PUT_DATA

BE_HTTP_PUT_DATA ( url ; data {; username ; password } )

 

Does a http PUT function with data and returns the results. This uses the curl library so output will be similar to that. This is used in conjunction with the BE_HTTP_Set_Custom_Header function to set custom headers in advance and the BE_HTTP_Response_Code and BE_HTTP_Response_Headers functions to get the result values after the PUT is complete.

 

Version : 2.1

 

Parameters :
url : the url to retrieve.
data : The data to send to the url.
username ( optional ) : username for basic HTTP authentication.
password ( optional ) : password for basic HTTP authentication.

 

Result : Returns the value that the url returns. Other returned values are in the BE_HTTP_Response_Code and BE_HTTP_Response_Headers functions and error codes are in the BE_GetLastError function.

Have more questions? Submit a request

0 Comments

Article is closed for comments.