Or is it required to validate all data using regex?
@xapax I don't think the schema will be a check for that, so would be best to validate all data from users though I think angular has a safe guard when it comes to that if I remember right
@darrylpargeter okay, thanks. But angular can only validate it on the client-side right? So you can just inject the evil-code directly in the request-header and thereby bypass the angular safe-guard, right?
xapax sends brownie points to @darrylpargeter :sparkles: :thumbsup: :sparkles:
@xapax I don't know but I shall be googling about it now XD
Yeah I'm a bit confused by all of this. I image that using mongoose schema to define the type of data would be enough to validate the input data. And that json.parse would be enough to validate querys. So that the user doesn't send dangerous queries. But i'm not rally sure about any of this. And when I google about it I feel like I never really get any clear answers.
if I found anything thats helpful I will post it here
@tanya53 I’ve done it, I can’t tell you how hard bings api is to use I didn’t use it, I used google and wish I hadn’t but @HermanFassett used it if I remeber so he might be able to help more if he isn’t busy
thanks for the help
@tanya53 for what it's worth, I found an external module for bing's API that made it a ton easier