Skip to content

Commit

Permalink
feat/#9: signUp, login 인터페이스 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
youjin09222 committed May 3, 2024
1 parent edcad07 commit 905ac81
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions app/src/main/java/com/sopt/now/test/data/AuthService.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.sopt.now.test.data

import com.sopt.now.test.data.dto.request.RequestLoginDto
import com.sopt.now.test.data.dto.request.RequestSignUpDto
import com.sopt.now.test.data.dto.response.ResponseAuthDto
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST

interface AuthService {
@POST("member/join")
fun signUp(
@Body request: RequestSignUpDto,
): Call<ResponseAuthDto>

@POST("member/login")
fun login(
@Body request: RequestLoginDto,
): Call<ResponseAuthDto>
}

0 comments on commit 905ac81

Please sign in to comment.