RestClient icon indicating copy to clipboard operation
RestClient copied to clipboard

Can't send post request after Update to latest version

Open certilremy opened this issue 3 years ago • 2 comments

This package helped me so much on my recent demo project. I don't know what happen I can't send Post request to my server anymore. I tries many option the body of the request always empty wen I log it to the servers's console.

Screen Shot 2022-09-06 at 7 22 11 PM Screen Shot 2022-09-06 at 7 21 39 PM

I don't know if this due because of an update, please help.

certilremy avatar Sep 06 '22 23:09 certilremy

Were you able to find a solution? I'm just implementing this now, and already it don't think it'll be usable because I need to be able to send post requests with a body.

EDIT: I made a mistake and added an extra / in my URI (building them via a function and the base uri already had it). Fixing that allowed me to send post requests with data again. Not sure why that would have caused an issue though.

nic-southern avatar Oct 04 '22 13:10 nic-southern

@certilremy Is 'JweEdtekajan' a record? I found out default serializer JsonUtility is not able to seralize records. But it can deserialize just fine.

okankayhan avatar Jan 18 '23 15:01 okankayhan