Minor mod to API, make chrome extension work with beta

@Doridian recommended being able to change expiring time, so I did that
Chrome extension now shortens links with the beta right in the browser