Ok, I understand that Mojo::Base 'Mojolicious' will catch the submit and deal with it according to the routes. How can I see what has been collected?
On Monday, May 16, 2016 at 11:54:09 AM UTC-5, Billy Patton wrote: > > The app I have inherited is doing something I don't understand. > All the GET's without any problem, it's the puts that are the problem > > THis is a snippett from the html that is created by the GET. > The form calls the correct location bot how does the *Authentication Key* > get back into the URL? > <form id="accountForm_dname" action="https://api-i.h3net.com/tn/search" > method="post"> > <div class="form_box"> > <div class="form_field table_row"> > <span class="form_label field_name"> > <span class="req_mark">*</span>key= > </span> > <div class="table_cell"> > <input type="text" name="key" value="" size="40"> > </div> > </div> > <div class="form_instruction table_row"> > <span class="table_cell"> > </span> > <div class="table_cell"> > *Authentication key*. > </div> > </div> > > ... > > </form> > > How does the data from the "fill in the blanks" get back to the program? > It looks like that information is lost. > Is there some magic with JSON and mason? > > The manual written for this app has this : > > CA POST > "key" = key > "uid" = CUID > "type" = "company_state" > > JSON Return: > > { > "request":{ > > "key":"<KEY>", > . . . (other parameters) > > }, > "response" : { > > "tns" : [ { > > } ], > > "tn" : \d{10}, > "company_reserved" : true | false, > "company_active" : true | false > > "status" : "success", > > "total_tns" : \d+ > } > > } > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
