Forum Discussion

shivausum's avatar
shivausum
Occasional Contributor
13 years ago

How can i do a HTTP post from testcomplete


Hello,





I would like to know how i can do a http post to a webpage. Right now i am using Curl to do that but i would like to know how i can do a HTTP Post directly through testcomplete with out using any external application





I use Java script in automation. Please help me gain this knowledge. Thank you in advance.





An example command of how i do a http post with help of curl:

curl --header "ContentType: application/x-XXX-XXXX-XXXXXXX\"  -d "DATE,FLOAT,NOTES/r/n" \"http://xxxxx.XXXX.XXXX.com/XXX/XXXXXX/";

11 Replies