Basic apiRequest method