Skip to content

Commit 4d82cfa

Browse files
committed
Merge pull request #63 from RandomAPI/jsonp#61
Updated documentation
2 parents dcf57dc + 05951a0 commit 4d82cfa

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

views/pages/documentation.ejs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ http://api.randomuser.me/?results=25&nat=gb,us,es&fmt=csv&<span>dl</span>
229229
<li><b>noinfo</b> - If you only want the data, and don't care for seed, results, page, and version data.</li>
230230
<pre>
231231
http://api.randomuser.me/?results=5&inc=name,gender,nat&<span>noinfo</span>
232+
</pre>
233+
<li><b>callback</b> - If you want the payload in JSONP, supply a callback using the callback parameter. Only available with JSON formats.</li>
234+
<pre>
235+
http://api.randomuser.me/?results=5&<span>callback=randomuserdata</span>
232236
</pre>
233237
</ul>
234238
<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

Comments
 (0)