I’ve defined an api in app/api/create-payment-intent.js
How do I access it with a fetch function? When I try fetch("/api/create-payment-intent"
I get 404. Can anybody help me on this one? Couldn’t find documentation on fetching internal api
I’ve defined an api in app/api/create-payment-intent.js
How do I access it with a fetch function? When I try fetch("/api/create-payment-intent"
I get 404. Can anybody help me on this one? Couldn’t find documentation on fetching internal api
Filed under: Kiến thức lập trình - @ 00:43
Thẻ: next.js