Changing the request params to make it work. Closes #29

@MJRodriguezTriana plz r&m. createResource is now working.