If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
I noticed the same thing when posting to a REST interface. I seem to remember being advised to do that by someone at Miva, and it worked.
Edit: I looked at Mivascript.com and found:
FIELDS: Optional, comma delimited list of variables value pairs sent to the URL when POST is used as the method.
I think the POST form needs to follow very specific guidelines. In my case, I was passing JSON and that doesn't fit into the comma-delimited var/value pair style. Basically what Bill said...
IIRC, METHOD="POST" causes the VM to format the data into name=value pairs, like URL parameters. For METHOD="RAW" the VM just takes the values of the FIELDS, and puts them into the data without any names, equal signs, or ampersands.
Comment