Bug fix - Updates mislabeled variable names in APIwrappers

Variable names for XHR requests were labelled `url`, but should be
`queryUrl`