package com.amz.genie.services

import com.amz.genie.models.ReaksiResponse
import okhttp3.MultipartBody
import okhttp3.RequestBody
import retrofit2.Call
import retrofit2.http.Header
import retrofit2.http.Multipart
import retrofit2.http.POST
import retrofit2.http.Part

interface ReaksiServices {
    @Multipart
    @POST("reaksi/add")
    fun add(
        @Header("Authorization") token: String?,
        @Part("data") data: RequestBody,
        @Part files: List<MultipartBody.Part>? = emptyList()
    ): Call<ReaksiResponse>
}