Add content type to UserCache.mvc/Get endpoint (20.08)
This commit is contained in:
parent
7f22f0c498
commit
545b34ef92
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue