Page 1 of 1

How do I set up request parameters for a rest service form submit

Posted: Mon May 27, 2013 3:31 pm
by doubletake

I have a form that has 10 fields. (studentID, studentName, etc.).

How do I setup the service request parameters? [This is going to an external database].

I attempted to add request parameters for each field in my service with the intent of mapping them to the UI components.

However, when I run the test, it only seems to send the first parameter. I get errors on my server-side that additional parameters don't exist.

What is the best practice for mapping/submitting multiple form fields to a REST service for updating the record in a remote database? [I only see examples when using appery.io backend database]

I'd appreciate a basic example for something like
studentID
studentName
studentEmail

how to configure the rest settings and request parameters. I understand how to do the UI mapping part.

Thanks,
Don


How do I set up request parameters for a rest service form submit

Posted: Mon May 27, 2013 3:40 pm
by doubletake

Funny :) I changed the contentType to form instead of json and it worked.

Image