I need to put an array of objects ( each object has 2 fields ) as parameters in url of http request. How can i do it and how should this link looks like?
相关问题
- Angular RxJS mergeMap types
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
You can make an xml with your structure i.e an array of objects each having two fields then convert that to string as, As an example,
Then call this method with input and url as parameters for posting your data,
Alternatively you can use json as well.
best solution is send http post request in json or xml format .