Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Made minor changes


Table Cell (td)
Code Block
// example assumes you have a set of text fields named username, password, etc.
    username: username.value,
    password: password.value,
    password_confirmation: confirmPassword.value,
    first_name: firstName.value,
    last_name: lastName.value
}, function (e) {
    if (e.success) {
        // user created successfully
    } else {
        // oops, something went wrong

Post a photo to a photo collection. To post a photo to a collection, you need to create the collection first using PhotoCollections.