I am trying to figure out the action link of a form so that I can use it to run my Curl application. What does it mean when a webpage has this kind of form <form name="tBWForm" action="TBW" onsubmit="return false;" id="tBxForm" method="post" > HTML: and this is the submit button code <input type="image" onclick="javascript:addCourse()" alt="Click" disabled="disabled" class="btnBorder" src="images/add_coursebtn.gif" title="add course" id="addCourseButton" name="adCourse"> HTML: The question is what link do I use for CURLOPT_URL for the Curl library?
Try to post the code inside javascript function - addCourse() If the code doesn't modify the action attribute of the form, or doesn't submit the form elsewhere then may be the action URL is path_to_current_file's_directory/TBW
This is a JavaScript aka jscript form. What is the full webpage address? The website might be in the java code itself instead of the form.