request post with retrofit in android
i want use request post in my app .
i use this but i have problem .
I face this problem when I want to create an account . status code 403
you can see my code
Api.kt
interface Api {
@Headers("Content-Type: application/x-www-form-urlencoded")
@POST("users/signup")
@FormUrlEncoded
fun createUser(
@Field("first_name") fName: String,
@Field("last_name") lName: String,
@Field("email") email: String,
@Field("username") username: String,
@Field("password") password: String,
) :...