Android Image Upload with Retrofit 2

Here is how to upload image with Retrofit 2 library on android.
Below is the service source code.

Call<ImageResponse> iNatObservationPhoto(@Part("file\"; filename=\"my_image.jpg\" ") RequestBody image);

And here is how I use it.

File photo = new File(imagePathLocation);
RequestBody photoBody = RequestBody.create(MediaType.parse("image/jpg"), photo);

// Synchronous.
Response<ImageResponse> response = service.iNatObservationPhoto(photoBody).execute();

// Asynchronous.
service.iNatObservationPhoto(photoBody).enqueue(new Callback<ImageResponse>() {
    public void onResponse(Call<ImageResponse> call, Response<ImageResponse> response) {

    public void onFailure(Call<ImageResponse> call, Throwable t) {