forked from: JimmyLv/flomo-api-proxy
add feature:增加页码过滤
请求示例
curl
curl --location --request GET 'https://duiliuliu.vercel.app/api/flomo?tag=&offset=50&tz=8:0&limit=10&flomo_session='
fetch
var requestOptions = {
method: "GET",
redirect: "follow",
};
fetch(
"https://duiliuliu.vercel.app/api/flomo?tag=&offset=50&tz=8:0&limit=10&flomo_session=",
requestOptions
)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.log("error", error));
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
Deploy the example using Vercel:
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example api-routes-cors api-routes-cors-app
# or
yarn create next-app --example api-routes-cors api-routes-cors-app
Deploy it to the cloud with Vercel (Documentation).