Api call to append data test no longer lies that it was successful when it fails

@stowellm 

Jeremy had me set my editor to remove extra spaces at the end of lines. I really just added one if statement to return false if the status returned from the server was not 200.