function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
viv1viv1 

Multiple parameter Rest api

I have written a rest get service..
I have to pass parameter ..
can i pass multiple parameters with same name ??i dont want to sent it comma seperated...

test.com?test=abcsd&test=abcdef

?? can i send like this ??

NehalNehal (Salesforce Developers) 
Hi,

Please refer the links below:

1.http://stackoverflow.com/questions/4024271/rest-api-best-practices-where-to-put-parameters
2.http://stackoverflow.com/questions/6127507/handling-multiple-parameters-in-a-uri-restfully-in-java
3.http://lj.platformatyourservice.com/wiki/Specifying_Query_Parameters_in_REST_APIs
4.http://forums.asp.net/t/1928720.aspx?Pass+multiple+parameters+to+RESTful+service
5.http://stackoverflow.com/questions/2602043/rest-api-best-practice-how-to-accept-as-input-a-list-of-parameter-values
6.http://salesforce.stackexchange.com/questions/5990/rest-api-parameters-are-not-getting-passed-to-method

I hope this helps.