encode(“firstname=Foo&lastname=Bar”)); controller. postUrl(url: Uri. parse(“https://example.com/my-post-endpoint”), postData: postData); where the postData is the Body of the request in x-www-form-urlencoded format.
encode(“firstname=Foo&lastname=Bar”)); controller. postUrl(url: Uri. parse(“https://example.com/my-post-endpoint”), postData: postData); where the postData is the Body of the request in x-www-form-urlencoded format.