api put testing