RandomAPI / Randomuser.me-old-source

[Deprecated] PHP source for Random User Generator - Please take a look at the new Node version
https://randomuser.me
137 stars 48 forks source link

Nationality parameter does not work #11

Closed karthik closed 9 years ago

karthik commented 9 years ago

Related to issue #10, the nationality parameter also doesn't work. It randomly returns US or GB. It might require the same fix.

keitharm commented 9 years ago

It looks like it is working for me?

http://api.randomuser.me/?nat=us
http://api.randomuser.me/?nat=gb

Could you provide an example of how you are formatting your URL/parameters?

karthik commented 9 years ago

It was a mistake at my end. I was passing nationality instead of nat. Fixed now. Thanks for the quick response.