you might change the parameter 'e' to url in getData and postData, otherwise you will only use the 'url' from the outer scope.
other then that the methods are very handy and can help to write cleaner code.
thanks for sharing
Good eye. I completely missed that because the code executed using the globally scoped variable. It is fixed now. Thanks.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.