The Movie Database Support

I am implementing an (education-purpose) SPA based on your (amazing) API. As my code is JS-only and I am making HTTP requests with the API Key in the url, it's open to the public.. Is there any way to circumvent that and hide the API key?

3 replies (on page 1 of 1)

Jump to last post

Hi @gkatsanos Not really. We don't worry too much about this since we issue API keys for free. There's very little motivation for anyone to steal it. Having said that, if someone were to steal it, you can contact us and I can re-generate a new one for you.

Cheers.

Hi Travis

Is your answer still valid today? I'm planing on doing the same here. Or are you restricting access to specific domains for the API key nowadays?

Best Simon

@simonferndriger said:
Hi Travis
Is your answer still valid today? I'm planing on doing the same here.
Or are you restricting access to specific domains for the API key nowadays?
Best
Simon

I believe that Travis Bell's statement is still valid.
If necessary ask to Regenerate API Key.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login