so I am building an applications that has to POST a json array with some information and also json object with user credentials which are going to be used for identification. Is is possible to POST some kind of package that contains json object array + object with user credentials? I am using Retrofit2.
So beside this Array list I would like to send Credentials with one POST request.
public interface JsonPlaceHolderApi {
@POST("hws/hibisWsTemplate/api/v1/order/posts/")
Call<Post> createPost(@Body ArrayList<Post> post);
}