Add content type to UserCache.mvc/Get endpoint (20.08)

This commit is contained in:
Mikołaj Pich 2020-06-08 22:10:07 +02:00
parent 7f22f0c498
commit 545b34ef92

View file

@ -31,6 +31,7 @@ import io.reactivex.Single
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.Header
import retrofit2.http.Headers
import retrofit2.http.POST
import retrofit2.http.Url
@ -40,6 +41,7 @@ interface StudentService {
fun getStart(@Url url: String): Single<String>
@POST
@Headers("Content-Type: application/json")
fun getUserCache(
@Url url: String,
@Header("X-V-RequestVerificationToken") token: String,