Next.js Tutorial - 41 - API Routes

preview_player
Показать описание

📱 Follow Codevolution

Рекомендации по теме
Комментарии
Автор

Use Coupon Code 'CODEVOLUTION' for 50% OFF lifetime discount applied to any upgraded subscription

Codevolution
Автор

Best free nextjs series on the planet

shakilbabu
Автор

Excellent course full consept ❤and easy way tech all consept understand and good example code Thank you so much for your next js..

rajan_Developers
Автор

Great series on Next js please how many videos will be this playlist ?

mostafasadeek
Автор

Can I create API subfolders without problems? Works well?

ricardocnn
Автор

I have an API file with images in it. How do i fetch those images which are hard-coded ? e.g
{
name: " abcdef",
image: "bbb.jpg"
}

how can i fetch this image into the front end
[ I have not hosted the image anywhere ( most tutorials show a link to an image ) . ]

musshare
Автор

Why dont we contact our api using the useSWR hook? Is there any specific reason for why we use the plain REST API or is it just for simplification purposes?

jorims
Автор

Who else heard "I love you" at 0:28 ?😂

crim-son
Автор

What about production? My code works on local but not production

TamilLatest
Автор

Can NestJS's API Routes feature be viewed as a Backend?

aiboomd
Автор

Can you create more than one API route in the same file?

Niconelli
Автор

How do you indicate the type of request?

luksmrz
Автор

How are these API routes of any use if you are inputting the data to display in VSCode yourself? Isn't any API call supposed to pull data in from an external source?

David-mrys
Автор

Hey I love this series Vishwas. I have a question that maybe someone could answer. Can anyone call that api route with particular params, from anywhere? Meaning, if i have knowledge of the api route source code, I can hack it by passing an argument that I know will trigger it specifically. I dont want random snoopers running server side code because they know what params to pass

MagicGamesRayted
Автор

Can someone please help me woth an issue that im facing?

I have an api thats created within the next project which is dynamic and takes in an id of a blog. [id]

When i query it in getStaticProps of a dynamic page of individual blog which is fetched with id's of getStaticPaths it works on development environment.

But it fails to build static pages on running 'npm run build' as the apis are not live during build time thus is unable to fetch datas of individual dynamic blog page's data during build time.

Im unable to find a solution for this literally anywhere on the internet.

megalodon
Автор

Low voice needed? It sound too annoying.

tipfertilizer
visit shbcf.ru