https://github.com/kyhsa93/profile-image-api
node.js
https://github.com/kyhsa93/profile-image-api
Last synced: 2 months ago
JSON representation
node.js
- Host: GitHub
- URL: https://github.com/kyhsa93/profile-image-api
- Owner: kyhsa93
- Created: 2018-02-19T06:05:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T10:36:55.000Z (almost 3 years ago)
- Last Synced: 2025-05-29T01:38:50.076Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 149 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Profile Image api
===
Start
---
node index.js
Configuration
---
port: 5000EndPoint
---
/sign
/profile/image/:imageId
| EndPoint | Method | Request | Response |
|-------------------------|--------|---------------------------- |--------------------------------------------|
| /sign | POST | id,
password | success: boolean
message: string or jwt |
| /profile/image/:imageId | GET | imageId(params),
rotate(query string),
width(query string),
height(query string) | cache-control: max-age=290304000, public
status: 200
content-type: image/jpeg
last-modified: Sun, 18 Feb 2018 08:20:39 GMT |