Replies: 6 comments 25 replies
-
https://npm.io/package/@slider-captcha/core This node.JS package has an implementaion of server side creation and verification of the CAPTCHA challenge. |
Beta Was this translation helpful? Give feedback.
-
Hey! I quickly put this together to prototype, there is some more work left to do which I will complete by tomorrow. https://github.com/i5hi/slider_captcha_server The spec is basically as follows:
Request: no params Response:
Pending: This needs to also send back the Y coordinate which represents the starting point. I also need to test if the base64 returned properly converts to the png.
Request: Response: 200 OK / 400 Bad Request |
Beta Was this translation helpful? Give feedback.
-
great! cargo test is only for library testing use Then you can access http api at I just pushed an update. Please pull the latest version. It has updated the routes. One question I had, when i generate the random coordinate to start cropping, it is the starting point from top left of the puzzle piece. It is not the center. Is this correct or does it have to be the center of the piece? |
Beta Was this translation helpful? Give feedback.
-
Tested the resulting base64 piece_image here: https://base64.guru/converter/decode/image/png Seems okay. Maybe this is an issue in parsing base64 to png in flutter? Note the image type is png, maybe this is causing an issue? Is there any preffered image type? |
Beta Was this translation helpful? Give feedback.
-
Thank you! I found the cause. I have started running tests on branch issue28_support_server. Everything is still in its infancy and in the process of being improved |
Beta Was this translation helpful? Give feedback.
-
@i5hi |
Beta Was this translation helpful? Give feedback.
-
Hi
Thanks for creating this library.
I am not clear on how to validate the solution for this on the server side.
Please suggest an existing server side implementation that can be used with this library.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions