updatePostReport method
Implementation
Future<http.Response> updatePostReport({required int? postId}) {
return put(Uri.parse('$apiURL/posts/reports?post=$postId'), headers: {
"token":
"cnejwi8c9wehnd8fchni2x239jxexnjx2n23i8xn3oifr0cwd32fjnrf453vreve",
"content-type": 'application/json',
});
}