The order won't change anything because the call is useless. Had you
invoked setPost(false) you would have gotten an exception but because the
request is already a post request it doesn't do anything. Post body arrives
just fine for my requests.
--
You received this message because you are sub
thanks, nothing shows up in there, no idea, this code has worked on many
apps for years. Can you verify it still works for you steve?
On Wednesday, January 16, 2019 at 8:52:15 PM UTC+8, Steve Hannah wrote:
>
>
> Post body is empty in there. Should that show post parameters though ?
>>
>
> Yes it
> Post body is empty in there. Should that show post parameters though ?
>
Yes it should show the post parameters in the request body.
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving
thanks david, never thought of that, though im sure this is code ive used
before, but will try it out.
On Wednesday, January 16, 2019 at 2:39:04 PM UTC+8, davidwaf wrote:
>
> Meant:
>
> r.setPost comes first before you do the arguments ?
>
>
>
> On Wed, Jan 16, 2019 at 8:35 AM David Wafula > wr
Meant:
r.setPost comes first before you do the arguments ?
On Wed, Jan 16, 2019 at 8:35 AM David Wafula wrote:
> I think it works with this order?
>
> r.setUrl(url); //this comes first ??
> r.setPost(true);
> r.addArgument("id", "theid);
> r.addArgument("pw", "thepws);
>
>
> On Wed, Jan
I think it works with this order?
r.setUrl(url); //this comes first ??
r.setPost(true);
r.addArgument("id", "theid);
r.addArgument("pw", "thepws);
On Wed, Jan 16, 2019 at 8:26 AM Gareth Murfin
wrote:
> Post body is empty in there. Should that show post parameters though ?
>
> On Wednesday,
Post body is empty in there. Should that show post parameters though ?
On Wednesday, January 16, 2019 at 11:40:19 AM UTC+8, Steve Hannah wrote:
>
> What does the network monitor say? You can look at the post body there.
>
> On Tue, Jan 15, 2019 at 7:10 PM Gareth Murfin > wrote:
>
>> Really not m
What does the network monitor say? You can look at the post body there.
On Tue, Jan 15, 2019 at 7:10 PM Gareth Murfin
wrote:
> Really not my week is it Im doing an ordinary post to my clients api,
> but it wont work. I send over the post params like this:
>
> r.addArgument("id", "theirid");
Really not my week is it Im doing an ordinary post to my clients api,
but it wont work. I send over the post params like this:
r.addArgument("id", "theirid");
r.addArgument("pw", "theirpass");
r.setPost(true);
NetworkManager.getInstance().addToQueue(r);
I have done this a million times