json postdata - WeOnlyDo Discussion board

json postdata (wodHttpDLX)

by Jasmine, Monday, May 09, 2016, 01:59 (2881 days ago) @ shine

Hi.

You cannot send JSON (or any other value) like that, not through Headers.Add.

It's sufficient to set
Request.Headers("Content-type").Value = "application/json"
and then in

Request.Body = your_json
with formatted JSON.

I hope this helps.

Jasmine


Complete thread: