HTTP Post using JSON - WeOnlyDo Discussion board

HTTP Post using JSON (General questions)

by JustSeeing, Wednesday, June 23, 2010, 10:25 (5266 days ago)

Looking for some help on an http post...

figured it out with your competitors tool, seeing which one works better.. cant seem to figure out how to properly set it up with wodhttpdlx

the POST DATA is this

{ args :{ FriendId :FRIENDIDHERE}, hash :HASHHERE}

would you just do

http.request.body = { & chr(34) & args & chr(34 & :{ & FriendId & chr(34) & : & FRIENDIDHERE & }, & chr(34) & hash & chr(34) & ; & HASHERE & }


plz email

Re: HTTP Post using JSON

by wodDamir, Wednesday, June 23, 2010, 10:40 (5266 days ago) @ JustSeeing

Hi,

I can't say 100 sure, but basically yes. If that's the only data that needs to be posted, you would set Request.Body, and use Post method after.

Or, if you're using Form to post your data, then you could use HttpRequestFormPost object.

But, why don't you try downloading the component and try it out? The component doesn't have limits of any kind, except for the time trial.

Hope this helps.

Regards,
Damba