Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/plh97/api

个人api制作
https://github.com/plh97/api

docker github-api go golang koa nodejs server shell tinypng-api

Last synced: about 2 months ago
JSON representation

个人api制作

Awesome Lists containing this project

README

        

# api
个人api制作

### upload 只支持图片上传
```js
axios.post('https://api.pipk.top/upload',{
...相关图片参数吧。暂时没想到
}).then(res=>{
res: {
name: '文件名',
url: '访问地址'
}
},err=>{
err: 错误捕捉
})
```

### common auto set user && password
```bash
$ git config credential.helper store
$ git push http://github.com/pengliheng/repo.git
Username:
Password:
```

Also I suggest you to read
```
$ git help credentials
```