@@ -117,31 +117,31 @@ $.ajax({
117117 <h2 >Requesting Multiple Users</h2 >
118118 <p >Random User Generator allows you to fetch up to 5,000 generated users in one request using the <b >results</b > parameter.</p >
119119<pre >
120- http ://api. randomuser.me/<span >?results=5000</span >
120+ https ://randomuser.me/api /<span >?results=5000</span >
121121</pre >
122122 </section >
123123
124124 <section id =" gender" >
125125 <h2 >Specifying a gender</h2 >
126126 <p >You can specify whether you would like to have only male or only female users generated by adding the <b >gender</b > parameter to your request. Valid values for the gender parameter are "male" or "female", or you may leave the parameter blank. Any other value will cause the service to return both male and female users.</p >
127127<pre >
128- http ://api. randomuser.me/<span >?gender=female</span >
128+ https ://randomuser.me/api /<span >?gender=female</span >
129129</pre >
130130 </section >
131131
132132 <section id =" passwords" >
133133 <h2 >Passwords</h2 >
134134 <p >By default, passwords are chosen randomly from a list of ~10k top used passwords. Starting with version 1.1, you can have more control over how passwords are generated using the <span >password</span > option.</p >
135135<pre >
136- http ://api. randomuser.me/<span >?password=upper,lower,1-16</span >
136+ https ://randomuser.me/api /<span >?password=upper,lower,1-16</span >
137137</pre >
138138
139139 <p >The example above would generate a password consisting of uppercase and lowercase characters ranging between 1 to 16 characters long.<br ><br >
140140 You can specify options for the passwords using this format:</p >
141141<pre >
142- http ://api. randomuser.me/<span >?password=CHARSETS,MIN_LENGTH-MAX_LENGTH</span >
142+ https ://randomuser.me/api /<span >?password=CHARSETS,MIN_LENGTH-MAX_LENGTH</span >
143143OR
144- http ://api. randomuser.me/<span >?password=CHARSETS,MAX_LENGTH</span >
144+ https ://randomuser.me/api /<span >?password=CHARSETS,MAX_LENGTH</span >
145145</pre >
146146 <p >You can mix and match the charsets below for the CHARSETS option above:</p >
147147<pre >
@@ -155,21 +155,21 @@ number 0123456789
155155 Here are some more examples of password option combinations:</p >
156156<pre >
157157// Special chars exactly 32 characters long
158- http ://api. randomuser.me/<span >?password=special,32</span >
158+ https ://randomuser.me/api /<span >?password=special,32</span >
159159
160160// Uppercase chars between 1 to 8 characters long
161- http ://api. randomuser.me/<span >?password=upper,1-8</span >
161+ https ://randomuser.me/api /<span >?password=upper,1-8</span >
162162
163163// Special, uppercase, lowercase, and numeric chars between the default 8 to 64 characters long
164- http ://api. randomuser.me/<span >?password=special,upper,lower,number</span >
164+ https ://randomuser.me/api /<span >?password=special,upper,lower,number</span >
165165</pre >
166166 </section >
167167
168168 <section id =" seeds" >
169169 <h2 >Seeds</h2 >
170- <p >Seeds allow you to always generate the same set of users. For example, the seed "foobar" will always return results for <a href =" http ://api. randomuser.me/1.0/?seed=foobar" target =" _blank" >Becky Sims</a > (for version 1.0). Seeds can be any string or sequence of characters.</p >
170+ <p >Seeds allow you to always generate the same set of users. For example, the seed "foobar" will always return results for <a href =" https ://randomuser.me/api /1.0/?seed=foobar" target =" _blank" >Becky Sims</a > (for version 1.0). Seeds can be any string or sequence of characters.</p >
171171<pre >
172- http ://api. randomuser.me/<span >?seed=foobar</span >
172+ https ://randomuser.me/api /<span >?seed=foobar</span >
173173</pre >
174174 </section >
175175
@@ -185,17 +185,17 @@ http://api.randomuser.me/<span>?seed=foobar</span>
185185 </ul >
186186 <p >Just specify the format you would like returned by using the <b >format</b > parameter.</p >
187187<pre >
188- http ://api. randomuser.me/<span >?format=csv</span >
188+ https ://randomuser.me/api /<span >?format=csv</span >
189189</pre >
190190 </section >
191191
192192 <section id =" previous" >
193193 <h2 >Using previous versions</h2 >
194194 <p >When we release a new version the API, it could possibly break your application. By accessing the API via:</p >
195- <pre >http ://api. randomuser.me/</pre >
195+ <pre >https ://randomuser.me/api /</pre >
196196 <p >The result that is returned automatically uses the latest version of the API.<br >
197197 If you want to access a specific version of the API that won't be affected by updates, do this:</p >
198- <pre >http ://api. randomuser.me/<span >1.1</span >/</pre >
198+ <pre >https ://randomuser.me/api /<span >1.1</span >/</pre >
199199 </section >
200200
201201 <section id =" nationalities" >
@@ -209,11 +209,11 @@ http://api.randomuser.me/<span>?format=csv</span>
209209 </ul >
210210 <p >You can specify a nationality like so:</p >
211211<pre >
212- http ://api. randomuser.me/<span >?nat=gb</span >
212+ https ://randomuser.me/api /<span >?nat=gb</span >
213213</pre >
214214 <p >Randomuser will return random nats by default. You can have some control with the nats that you'd like to have generated by specifying a comma seperated list:</p >
215215<pre >
216- http ://api. randomuser.me/<span >?nat=us,dk,fr,gb</span >
216+ https ://randomuser.me/api /<span >?nat=us,dk,fr,gb</span >
217217</pre >
218218 </section >
219219
@@ -222,7 +222,7 @@ http://api.randomuser.me/<span>?nat=us,dk,fr,gb</span>
222222 <p >You can request multiple pages of a seed with the <b >page</b > parameter.<br >
223223 Make sure that you use the same seed and page number in order to get back the same results</p >
224224<pre >
225- http ://api. randomuser.me/<span >?page=3&results=10&seed=abc</span >
225+ https ://randomuser.me/api /<span >?page=3&results=10&seed=abc</span >
226226</pre >
227227 </section >
228228
@@ -248,11 +248,11 @@ http://api.randomuser.me/<span>?page=3&results=10&seed=abc</span>
248248 </ul >
249249 <p >If you only wanted the names,genders,and nats of users:</p >
250250<pre >
251- http ://api. randomuser.me/<span >?inc=gender,name,nat</span >
251+ https ://randomuser.me/api /<span >?inc=gender,name,nat</span >
252252</pre >
253253<p >If you want everything except for login data:</p >
254254<pre >
255- http ://api. randomuser.me/<span >?exc=login</span >
255+ https ://randomuser.me/api /<span >?exc=login</span >
256256</pre >
257257 </section >
258258
@@ -262,15 +262,15 @@ http://api.randomuser.me/<span>?exc=login</span>
262262 <ul >
263263 <li ><b >dl</b > - Download the results with the appropriate format extension.</li >
264264<pre >
265- http ://api. randomuser.me/?results=25&nat=gb,us,es&fmt=csv&<span >dl</span >
265+ https ://randomuser.me/api /?results=25&nat=gb,us,es&fmt=csv&<span >dl</span >
266266</pre >
267267 <li ><b >noinfo</b > - If you only want the data, and don't care for seed, results, page, and version data.</li >
268268<pre >
269- http ://api. randomuser.me/?results=5&inc=name,gender,nat&<span >noinfo</span >
269+ https ://randomuser.me/api /?results=5&inc=name,gender,nat&<span >noinfo</span >
270270</pre >
271271 <li ><b >callback</b > - If you want the payload in JSONP, supply a callback using the callback parameter. Only available with JSON formats.</li >
272272<pre >
273- http ://api. randomuser.me/?results=5&<span >callback=randomuserdata</span >
273+ https ://randomuser.me/api /?results=5&<span >callback=randomuserdata</span >
274274</pre >
275275 </ul >
276276 <p >If you find a mistake with an API or would like to contribute to our database, feel free to visit our <a href =" https://github.com/RandomAPI/Randomuser.me-Data" >Github Repo</a >. We'd really appreciate it :)</p >
0 commit comments