The profile image API (Germano's version/see my branch)
(Configuring the environment):
- git clone https://github.com/hex-g/mugshot.git
- cd mugshot
- git checkout [branch]
- git submodule init
- git submodule update
- Run the project in your IDE
- required JDK 11+
- required Gradle compatible
😃 URL:
http://localhost:9500/
- Profile image
🌉 URL:
http://localhost:9500/banner
- Banner image
header
- key:
authenticated-user-id
- value: [identification for the folder where the image will be stored]
- key:
body
- key:
image
- value: [file in form-data]
- key:
header
- key:
authenticated-user-id
- value: [identification for the folder where the image will be retrieved]
- key:
header
- key:
authenticated-user-id
- value: [identification for the folder where the image will be deleted]
- key:
🎲 Random
URL:
http://localhost:9500/generateImage/random
- Profile image
header
- key:
authenticated-user-id
- value: [identification for the folder where the generated image will be stored]
- key:
📄 Base64
URL:
http://localhost:9500/base64
- Profile image
URL:
http://localhost:9500/base64/banner
- Banner image
alternative form for getting image
header
- key:
authenticated-user-id
- value: [identification for the folder where the image will be retrieved encoded in base64]
- key: