getx icon indicating copy to clipboard operation
getx copied to clipboard

Cannot send request through GetConnect's post method

Open 0xj0hn opened this issue 3 years ago • 2 comments
trafficstars

ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS. THIS SPACE IS DEDICATED ONLY FOR BUGS DESCRIPTION. Fill in the template. Issues that do not respect the model will be closed.

Describe the bug I sent a data through post method of GetConnect but the server couldn't receive the data.

Reproduction code NOTE: THIS IS MANDATORY, IF YOUR ISSUE DOES NOT CONTAIN IT, IT WILL BE CLOSED PRELIMINARY)

  • Client Sample Code: image image image
  • Server Sample Code: image
  • Response(client side): image

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Getting "Our data: test" as a result.

Flutter Version: 2.8.0

Getx Version: 4.6.5

Describe on which device you found the bug: Linux

0xj0hn avatar Aug 20 '22 14:08 0xj0hn

I've fixed it using FormData. Why did I see something like this in the document? image

0xj0hn avatar Aug 20 '22 14:08 0xj0hn

I am facing this issue with get 4.6.5 version. But I downgraded to 4.3.1 then it is working fine. The reason why I downgraded to this specific version is that I used it earlier in an app it used to work fine. Also the Get.changeTheme and Get.changeThemeMode methods not working in this latest(4.6.5) version. But donwgrading worked. @jonataslaw please resolve these issue. I love this plugin from the day I first used it but these minor bugs are creating problems in my apps. Thanks

saurabhunify avatar Sep 03 '22 11:09 saurabhunify

Dude, don't use it, please.

thiagocarvalhodev avatar Feb 13 '23 18:02 thiagocarvalhodev