<gh_stars>0
package com.mazaiting.facepp.funcation.ocr.vehicle.service;

import com.mazaiting.facepp.funcation.ocr.vehicle.bean.VehicleBean;

import io.reactivex.Observable;
import okhttp3.MultipartBody;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;

/**
 * @author mazaiting
 * @date 2018/2/1
 */

public interface VehicleApi {
    @Multipart
    @POST("cardpp/v1/ocrvehiclelicense")
    Observable<VehicleBean> getVehicleInfo(
            @Part MultipartBody.Part api_key,
            @Part MultipartBody.Part api_secret,
            @Part MultipartBody.Part image_file
    );
}
