public async Task FavoritePostAsync(int postId) { var url = AddAuth(FAVORITE_POST_JSON_URL); var content = new MultipartFormDataContent(); content.Add(new StringContent(postId.ToString()), "id"); content.Add(new StringContent("3"), "score"); await _booruLoader.PostAsync(url, content); }
public async Task FavoritePostAsync(int postId) { var url = AddAuth(FAVORITE_POST_JSON_URL + postId); await _booruLoader.PostAsync(url); }