<div dir="ltr">Hi David,<div><br></div><div>I'm not sure I understand your question.  Maybe if you posted more detail about what you are trying to do.  </div><div><br></div><div>Have you read this: </div><div><br></div><div><a href="http://book.seaside.st/book/fundamentals/forms/textinputfields">http://book.seaside.st/book/fundamentals/forms/textinputfields</a> <br></div><div><br></div><div>All the best,</div><div><br></div><div>Ron Teitelbaum</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Mar 13, 2017 at 6:21 PM David Pennington <<a href="mailto:david@totallyobjects.com">david@totallyobjects.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I asked recently if there was a way to do a POST through Seaside but didn't get an answer.<br class="gmail_msg">
<br class="gmail_msg">
I have worked at it and got it going but I am confused abut a few things. My Web Page that is the target for the POST is subclassed from WAComponent. I have two issue that I have had to deal with.<br class="gmail_msg">
<br class="gmail_msg">
The first is that processing of the POST incoming data requires two instance variables to exist - seasideMimeDocument<br class="gmail_msg">
seasideMimeDocumentType<br class="gmail_msg">
<br class="gmail_msg">
I had to add these to my top level class and then everything seemed OK except that the data was missing.<br class="gmail_msg">
<br class="gmail_msg">
In the WARequest object there is a variable called postFields so someone had foreseen the need for handling a POST  but this field is empty.<br class="gmail_msg">
<br class="gmail_msg">
There is a field in the headers called content_type and for now I have replaced the more usual "application/json" with my json data and I can get it from there.<br class="gmail_msg">
<br class="gmail_msg">
Can anyone give me a clue what I can do to fix this?<br class="gmail_msg">
<br class="gmail_msg">
David<br class="gmail_msg">
<br class="gmail_msg">
--------------------------------------------------<br class="gmail_msg">
Message sent using Winmail Mail Server<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
seaside mailing list<br class="gmail_msg">
<a href="mailto:seaside@lists.squeakfoundation.org" class="gmail_msg" target="_blank">seaside@lists.squeakfoundation.org</a><br class="gmail_msg">
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br class="gmail_msg">
</blockquote></div>