Changed request type to PUT instead of POST.

PUT is apparently used for updating existing models, whereas POST is
used for creating new ones.