I’m struggling to decode a piece of AES-256 encrypted base64 coded data in node.js. The data was encoded in Salesforce. I tried various different aes algorithms but without luck.
i have created one dropdown that passes data to NodeJS through axios post i can see that in console log of nodejs Post but cant able to use the value outside the post function
I am trying to execute the following
I am using the
mysql2/promise npm package for connecting and doing queries to a MySQL database. I got confused trying to set the correct typing for my query result, because I don’t know in advance what type the result will be.
A little confused with how I’d do this at all in a single statement. If it’s possible?
I’m working on my middleware AuthController.js below. The middleware is part of a CRUD app. I created
exports.create which when requested will collect the first name and last name from the CRUD form. Once collected the MySql
INSERT query, will insert the data on the MySql
user table which is working fine.
i have created one dB that stores URL and name of the images in MySQL and NodeJS and react, I have a login function with node and react. what I want is when user uploads images I want to store it under the user so only he can view that. can you guide me how … Read more
I’m working with MySQL more and ran into a question I can’t seem to find an answer for without experimenting myself or looking much deeper.