Query String Parameter

How do I add the “schema” query string parameter to this request?

URL url = new URL(“http://www.mockaroo.com/api/generate.json?key=abcd1234”);

Just add &schema=(schema name) to the url.

Here’s a fiddle you can play with: http://jsfiddle.net/mw74bsmd/. Just enter your api key and the name of one of your saved schemas.

Thanks…that worked!

Check here more details about…QueryString

Dell