Sam

Sam

  • NA
  • 107
  • 14.6k

How to ready the textbox value to jdoodle compiler in aspx.cs page

Mar 9 2021 7:17 AM
Hello Team,
 
Hope you are doing great today!
 
Here i am trying to read the textbox value on clicking the submit button, To compiler api with C#
 
Can any one guide me on how to ready the textboc values into Jdoodle API.
 
Below is the code i am reading in form tag, But i need to read the code in backend.
 
<form id="form1" runat="server" action="https://www.jdoodle.com/api/redirect-to-post/online-java-compiler" method="post">
<textarea name="initScript" rows="25" cols="80"></textarea>
<input type="submit" value="Submit" />
 
Early response highly appreciated.
 
Thanbk you!! 

Answers (2)