Home > Mobile >  Newcomer consult, Alamofire get request of how to transmit with the same parameters?
Newcomer consult, Alamofire get request of how to transmit with the same parameters?

Time:10-05

As title, I want to get request in the incoming 4 parameter, the value of the same, as I wrote in the parameters of four, as a result of the error and how to solve?

CodePudding user response:

What needs to be of the same parameter name, and I can't use the same parameter name

CodePudding user response:

Good wonderful work request, if the same field need to multiple parameters, why not put the value of this field is set to JSONArray string

CodePudding user response:

refer to the second floor the wind light cloud light v10 reply:
good wonderful work request, if the same field needs to be introduced into multiple parameters, why not put the value of this field is set to JSONArray string


Well,,, JSONArray android, IOS should be NSArray

CodePudding user response:

Called interface designers to side and hit him

CodePudding user response:

reference 4 floor leiyutinghua response:
called interface designers to nearby, beat him
I wrote directly to the address where a=1 & amp; A=2 & amp; A=3 & amp; A=4, ok, but not directly in the parameter there, it's really a wonderful work

CodePudding user response:

reference 5 floor Cyrusfee reply:
Quote: refer to 4th floor leiyutinghua response:

Called interface designers to nearby, beat him
I wrote directly to the address where a=1 & amp; A=2 & amp; A=3 & amp; A=4, ok, but not directly in the parameter there, it's really a wonderful work


A look at is the background too not pay attention to the code
  • Related