package ru.myitschool.work.api.scan

import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST
import retrofit2.http.Path

interface ApiServiceScan {
    @POST("api/add/{login}")
    fun open(@Path("login") login: String, @Body data: CodeJson): Call<Void>
}