changed to POST method
changed methods to POST