How can I post following parameter in retrofit through post method ?
\"params\":{\"body\": {
\"learning_objective_uuids\": [
\"ED4FE2BB2008FDA9C81
As of today, running the Retrofit implementation 'com.squareup.retrofit2:retrofit:2.1.0'
This works perfectly...
@FormUrlEncoded
@POST("index.php?action=item")
Call updateManyItem(@Header("Authorization") String auth_token, @Field("items[]") List items, @Field("method") String method);
You can disregard the @Header and @Field("method") .... the main piece is @Field("items[]") List
This is what allows you to send the items. On the API side I am simply looking for an array of integers and this works perfectly.