title: DioError [DioErrorType.RESPONSE]: Http status error [405]
body: <p>I am creating a <code>post</code> request Using <a href="https://pub.dev/packages/dio" rel="nofollow noreferrer">Dio</a>,
  this is my <code>FormData</code> params,</p>
  <pre><code>    FormData formData = FormData.fromMap({
        'wallet_id': '${dropdownValue.walletId}',
        'member_id': '${_loginModel.memberId}',
        'draw_amount': withdrawalAmountContoller.text,
        'login_password': passwordController.text,
      });
  
  </code></pre>
  <p>then I am passing <code>params</code> like this,</p>
  <pre><code>Response response = await dio.post(url, data: params);
  </code></pre>
  <p>But I am getting an error on request,</p>
  <blockquote>
  <p>ERROR[DioError [DioErrorType.RESPONSE]: Http status error [405]] =&gt; PATH: <a href="https://vertoindiapay.com/pay/api/withdraw" rel="nofollow noreferrer">https://vertoindiapay.com/pay/api/withdraw</a></p>
  <p>E/flutter ( 6703): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: <strong>DioError [DioErrorType.RESPONSE]: Http status error [405]</strong></p>
  <p>E/flutter ( 6703): #0      DioMixin._request._errorInterceptorWrapper. (package:dio/src/dio.dart:848:13)</p>
  </blockquote>
  <p>Please help me solve this. <strong>My URL is=&gt; <a href="https://vertoindiapay.com/pay/api/withdraw" rel="nofollow noreferrer">https://vertoindiapay.com/pay/api/withdraw</a></strong></p>
  <hr />
  <p>Although this is working fine in postman,</p>
  <p><a href="https://i.stack.imgur.com/3Kh3G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3Kh3G.png" alt="enter image description here" /></a></p>