Fast-android-networking: Creating query parameters with same name.

Created on 1 Apr 2017  路  2Comments  路  Source: amitshekhariitbhu/Fast-Android-Networking

Hi, I'm using the USDA API, where the URL parameter name gets called again and again.

Ex:

https://api.nal.usda.gov/ndb/nutrients/?format=json&api_key=DEMO_KEY&nutrients=205&nutrients=204&nutrients=208&nutrients=269&ndbno=01009

Is there a way I can use the nutrients key value over and over again with addQueryParameter()?

Most helpful comment

As of now, there is no way to do so as this is the first time, I came to know about this. Anyway, you can create that by building the Url like above.
I will think on this for adding this feature in new release.

All 2 comments

As of now, there is no way to do so as this is the first time, I came to know about this. Anyway, you can create that by building the Url like above.
I will think on this for adding this feature in new release.

Thanks for the heads up. Very much appreciated! Love the work you're doing

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SunryTeang picture SunryTeang  路  4Comments

MohadFarhan picture MohadFarhan  路  5Comments

GulajavaMinistudio picture GulajavaMinistudio  路  3Comments

anderscheow picture anderscheow  路  5Comments

Ali-Khazaee picture Ali-Khazaee  路  5Comments