parse url and body parameters correctly for getAll items in the api