Supporto The Movie Database

has anyone succeeded in using the API of 'Details' at the url : https://developer.themoviedb.org/reference/movie-details ?

an error 500, strict-origin-when-cross-origin at 'src/routes/movie/[id]/+page.svelte'

the web browser display '{data.title}' as 'undefined' at the path like 'http://localhost:5173/movie/787699'.

I changed to the variable name into 'data' in order to recheck but failed, too.

I concluded that any change has occurred in the movie api
because I tested an other example at the path of 'http://localhost:5173/stock/aapl' and it works well now.

I have tried to change the source to utilize the sample source on the document but failed for my fault.

if anyone who has solved this, show me how you did that?

thanks a lot!!!

p.s : I have posted the more details on my github issue at the url : https://github.com/joywins25/Challenge_SvelteKit/issues/1

2 risposte (nella pagina 1 di 1)

Jump to last post

Hi @joywins,

I don't have any problems using the docs "try it" feature.

Do you perhaps have a ad blocker (or similar) enabled that could be blocking some scripts from loading?

thanks to let me know there is no change in the usage of api of 'details'. I have corrected typo and solved it. wish your good day!

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi