Answer the question
In order to leave comments, you need to log in
How to pass an array of objects as a reference?
Hello. It is necessary to turn to a third-party API and pass parameters to it, among which there is such a type ( array<object> (Transport, Interval, IntervalValue)
- an array of objects, as far as I understand). How to pass such an object to the URL.
https://api.site.com/model/create/?name=modelName&type=modelType&array=???
Answer the question
In order to leave comments, you need to log in
If we are talking about Java, then either
https://api.site.com/model/create/?name=modelName&type=modelType&array=1,2,3,432
Orhttps://api.site.com/model/create/?name=modelName&type=modelType&array=1&array=2&array=3&array=432
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question