Page 2 of 2

Sending Checkboxgroup in parameter

Posted: Wed Feb 18, 2015 11:19 am
by Evgene Karachevtsev

Hello Narayan,

Could you please try setting 'Request Content Type' from 'x-www-form-urlencoded' to 'JSON' at settings of the service?


Sending Checkboxgroup in parameter

Posted: Wed Feb 18, 2015 11:34 am
by Narayan G. Maharjan

Server says : HTTP Status 415 - Unsupported Media Type Seems like it doesn't support JSON. So does that mean it is not possible for me to send even a very simple array parameter ?


Sending Checkboxgroup in parameter

Posted: Wed Feb 18, 2015 12:47 pm
by Evgene Karachevtsev

Narayan,

You set 'Request Content Type' to 'XML' and define auditorId in such way http://gyazo.com/365bdba0ac521d5891fe...


Sending Checkboxgroup in parameter

Posted: Wed Feb 18, 2015 12:51 pm
by Narayan G. Maharjan

Yes exactly I have done that one but in JSON but it failed. Server only supports 'x-www-form-urlencoded' for now.


Sending Checkboxgroup in parameter

Posted: Wed Feb 18, 2015 2:09 pm
by Evgene Karachevtsev

Narayan,

Unfortunately in that case you can't send an array in request


Sending Checkboxgroup in parameter

Posted: Wed Feb 18, 2015 2:13 pm
by Narayan G. Maharjan

oh..


Sending Checkboxgroup in parameter

Posted: Wed Feb 18, 2015 9:06 pm
by maxkatz

You can use Server Code script to send this request.


Sending Checkboxgroup in parameter

Posted: Sat Feb 21, 2015 5:15 am
by Narayan G. Maharjan

Is there any tutorial so that I can send those server code script.


Sending Checkboxgroup in parameter

Posted: Sun Feb 22, 2015 5:32 pm
by Maryna Brodina

Hello!

All the information about using server code is here http://devcenter.appery.io/documentat...