Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is base64 data parsing supported? #378

Open
tcxia opened this issue Jun 30, 2020 · 3 comments
Open

Is base64 data parsing supported? #378

tcxia opened this issue Jun 30, 2020 · 3 comments

Comments

@tcxia
Copy link

tcxia commented Jun 30, 2020

code like this: postdata = {'image':b64encode(data).decode()}

@mrozigor
Copy link

AFAIK - no. You have to use some library (maybe: https://github.com/ReneNyffenegger/cpp-base64 ?).

@tcxia
Copy link
Author

tcxia commented Jun 30, 2020 via email

@The-EDev
Copy link

it's worth noting while crow does not support base64 decoding, it does support encoding using crow::utility::base64encode(data, size) and crow::utility::base64encode_urlsafe(data, size)

GerHobbelt pushed a commit to GerHobbelt/crow that referenced this issue Apr 13, 2022
Fix indentation & numbering in middleware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants