Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I posted the form using the following code:</p> <pre><code>private void Run(string[] args) { NameValueCollection vals = new NameValueCollection(); vals.Add("TERM_IN", ""); vals.Add("SEL_SUBJ", ""); vals.Add("SEL_CRSE", ""); vals.Add("SEL_TITLE", ""); vals.Add("BEGIN_HH", ""); vals.Add("BEGIN_MI", ""); vals.Add("BEGIN_AP", ""); vals.Add("SEL_DAY", ""); vals.Add("SEL_PTRM", ""); vals.Add("END_HH", ""); vals.Add("END_MI", ""); vals.Add("END_AP", ""); vals.Add("SEL_CAMP", ""); vals.Add("SEL_SCHD", ""); vals.Add("SEL_SESS", ""); vals.Add("SEL_INSTR", ""); vals.Add("SEL_ATTR", ""); vals.Add("SEL_LEVL", ""); vals.Add("SEL_INSM", ""); using (var client = new WebClient()) { var buffer = client.UploadValues("https://secure.monroecc.edu/pls/bpr1/bwzkfcls.P_GetCrse", "POST", vals); Console.WriteLine(Encoding.UTF8.GetString(buffer, 0, buffer.Count())); //Console.Read(); } } </code></pre> <p>It returns a 200 status code and valid html indicating that the form was received properly. However, since none of the values are correct the returned page says that there is a missing form element that must be included (NAME NOT FOUND FOR PIDM: )</p> <p>The parameter mismatch error you are receiving means that the parameters you are passing in are not the ones that the stored procedure expects. You'll need to get an exact list of the parameters and expected values first, then you can just plug them in and this should work. Unfortunately the page returns a 200 status code so you'll have to parse out somehow whether there was an error or not.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload