The profile image API
(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:
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:
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: