Skip to content

Instantly share code, notes, and snippets.

@matthewmichihara
Created May 9, 2013 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewmichihara/5544830 to your computer and use it in GitHub Desktop.
Save matthewmichihara/5544830 to your computer and use it in GitHub Desktop.
Retrofit interface
interface PhotoUpload {
@PUT("/api/v1/photos/{sha256}")
Object putPhoto(@Name("sha256") String sha256, @SingleEntity TypedFile photo);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment