Some APIs do not always mean success when they return 200, so this method should be customisable 
Some APIs do not always mean success when they return 200, so this method should be customisable