14.08.2015, 19:52
The one thing I have noticed is you don't check that the project is valid.
You can simply check if the returned data string is {"status_code":404,"message":"Project not found."} and if it is the project is invalid.
You can simply check if the returned data string is {"status_code":404,"message":"Project not found."} and if it is the project is invalid.