- This topic is empty.
January 26, 2015 at 1:16 pm #194269
I’m working on a portfolio and would like to show my skills in ajax and json by requesting information from other sites.
How would I encrypt my registered API key so it’s not visible to anyone who opens up developer tools?
I tried searching the web for this and didn’t find any answers, so I’m hoping someone can point me in the right direction.
Thanks!January 26, 2015 at 4:14 pm #194287
Sorry for the confusion as I’m a little confused myself.
By generated, I mean the key that was given to me after registering with the site. Is that the public key or private key?
I was only given one key to use in my URL request.
In the example below where you see MYKEYHERE. Is it ok for that key to be exposed?
}January 27, 2015 at 1:29 pm #194371
I seen that in the docs, but I second guess myself because I read somewhere that your API key should be private, and I wasn’t quite sure what exactly was meant by that.
So if my site, would anyone be able to see that information?
Sorry for my paranoia, lol.January 27, 2015 at 8:37 pm #194397
I read it somewhere on stack overflow a few weeks ago, and it was referring to an API in general. I don’t remember the actual conversation though.
You’ve made it crystal clear that it’s ok and I feel confident now in using it. Thanks!January 27, 2015 at 8:38 pm #194398
Thanks for that information. I’ll definitely check that out for future reference.