I\'m developing a nextjs site. I want to have an api endpoint on a serverless function that will let me access data that I can get with getServerSideProps.
getServerSideProps
T