hi i want to send post to wordpress with api in flutter and i use JSON API and JSON API USER Plugin to get api.

when i want to send post with api i got error

    "error":"You need to login with a user that has 'edit_posts' capacity."

this is my code:

Future<http.Response> sendTahlil(_title, _content) async {
  final response = await http.get(

  var decodedjson = jsonDecode(response.body);
  // String nonCode = jsonDecode(decodedjson['nonce']);
  var urlcreat =
  final ressend = await http.post(