await post_request(
// env
env,
- // endpoint
- '/api/sign_up/create_account.json',
// handler
async (verification_code, details) => {
// coerce and/or validate
if (captcha === undefined || XDate.now() >= captcha.get('expires'))
throw new Problem(
'No verification image in session',
- `Please call the "/api/verification_image.png" endpoint to create a verification image, in same session as the "/api/sign_up/create_account.json" call and less than one hour prior.`,
+ `Please call the "/api/verification_image.png" endpoint to create a verification image, in same session as the "/api/account/sign_up/create_account.json" call and less than one hour prior.`,
418
)