Rewrite is working for get and put. Need to test delete and post. Need to add uploads.