ResoCoder / forecast-mvvm-android-kotlin

Forecast MVVM app as found in the free course.
https://www.youtube.com/playlist?list=PLB6lc7nQ1n4jTLDyU2muTBo8xk0dg0D_w
339 stars 163 forks source link

@POST request not working #20

Open Ajit121 opened 4 years ago

Ajit121 commented 4 years ago

How can I make a @POST @FormUrlEncoded @POST("api/v1/login") fun myFunction( @Field("username") field1: String, @Field("password") field2: String ): Deferred

backend is not receiving the fields