added http methods strings as constants
added http methods strings as constants
fixed sending multiple objects when only one is sent
check if object is instance of Resource and send the _instance instead