【文件属性】:
文件名称:links-api:FFD的API
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-21 16:24:20
JavaScript
链接 API (FFD)
发布/链接/创建
创建新链接
查询参数
{
url: 'http://google.com', // Required
title: 'Google', // Will be scraped if no title
description: 'Website about something', // Will be scraped if no description
author: 'john', // Required
votes: "['john']", // By default will be author (should be serialized array)
}
POST /link/vote/:id
为现有链接投一票。
网址参数
:id是链接的数字标识符(例如: 203 )
查询参数
{
a
【文件预览】:
links-api-master
----index.js(2KB)
----package.json(469B)
----.test.paw(11KB)
----links.js(2KB)
----.gitignore(31B)
----README.md(1KB)