Set method for settings sample data to PUT.