Added case to test restful api by data in file

changed response mimetype to suit ie
fixed updating bug
added json data file