package com.isidroid.job_sender.data.source.remote.api

import okhttp3.MultipartBody
import okhttp3.ResponseBody
import retrofit2.Call
import retrofit2.http.Header
import retrofit2.http.Multipart
import retrofit2.http.POST
import retrofit2.http.Part
import retrofit2.http.Path

interface ApiUpload {
    @Multipart
    @POST("api/page/{jobId}")
    fun upload(
        @Path("jobId") jobId: String,
        @Header("X-Access-Token") token: String,
        @Part body: MultipartBody.Part
    ): Call<ResponseBody>


}