taffy

v-card-media with base64 image

谁都会走 提交于 2021-02-07 18:22:59
问题 I am creating a captcha image in ColdFusion and returning it as a REST feed with Taffy. It is then shown in Vuetify ColdFusion / Taffy code <cfscript> component extends="taffy.core.resource" taffy_uri="/captcha" { function get() hint="Sends one out" { var captcha = CreateUUID().right(4) & DayOfWeekAsString(DayOfWeek(now())).left(1).lcase() & "!"; // This is ColdFusion var tempFile = "ram:///#captcha#.txt"; var myImage = ImageCreateCaptcha(100, 300, captcha, "low"); ImageWriteBase64(myImage,

How to pass additional data to restful API Basic authentication

爷,独闯天下 提交于 2019-12-08 13:33:03
问题 I am developing my first restful API for a project. I understand and have gotten the basic authentication to work properly, using the format Basic username:password where username:password is Base64 encoded. Currently, we pass a user's email address in the 'username' field and their password in the 'password' field. The problem is that the email address is not unique in the application. It is unique per Organisation within the application. So in order to log the user in successfully, we need