Functionality for generating different formats. This could be a list of radio buttons that would pass in a format in the query URL.
There will need to be another parameter passed into the getAll user API call function, and an interpolation passed into the query URL.
Radio buttons will need bindings so that they pass into the URL properly.
getAll(count, nat, format) {
return this.api.get(`https://randomuser.me/api/?results=${count}&nat=${nat}&format=${format}`);
}
Functionality for generating different formats. This could be a list of radio buttons that would pass in a format in the query URL.
There will need to be another parameter passed into the
getAlluser API call function, and an interpolation passed into the query URL.Radio buttons will need bindings so that they pass into the URL properly.