[WebDNA] JSONobject
This WebDNA talk-list message is from 2020
It keeps the original formatting.
numero = 115183
interpreted = N
texte = 2812--5f6274d2_25973e32_4b6Content-Type: text/plain; charset="utf-8"Content-Transfer-Encoding: quoted-printableContent-Disposition: inlineHello everyone=21Thanks in advance for any help on this topic. Anyone has experience on ho=w to capture a JSON payload that=E2=80=99s being sent via POST to a .tpl =with WebDNA=3F.This is the post being sent:curl -X 'POST' 'https://myhost.com/callback.tpl'; -H 'connection: close' =-H 'content-length: 396' -H 'content-type: application/json' -H 'accept: =*/*' -H 'host:=C2=A0myhost.com' -d =24'=7B=22id=5Faccount=22:1,=22client=22=:=7B=22rut=22:=2211111111-1=22,=22name=22:=22John=22,=22last=22:=22Doe=22=,=22email=22:=22johndoe=40gmail.com=22,=22phone=22:=22999999999=22=7D,=22=car=22:=7B=22id=5Fmodel=22:4057,=22license=22:=22=22,=22year=22:=222006=22=,=22brand=22:=22CHEVROLET=22,=22model=22:=22COMBO VAN=22,=22version=22:=22=1.3 DIESEL PL AB ABS MT 5P=22,=22miles=22:null=7D,=22quote=22:=7B=22price==22:1210000,=22price=5Fmin=22:590000,=22price=5Fmax=22:2180000=7D,=22id=5F=transaction=22:11=7D'I=E2=80=99ve used =5BJSONstore=5D successfully in the past, but only when= my server sends the POST and the other party replies with a JSON, but th=is is the first time I=E2=80=99m receiving a payload that needs to be sav=ed.=5Bformvariables=5D=5Bvalue=5D=5B/formvariables=5D is not working and I g=uess it does not apply for this kind of data.Thanks in advance for any help.Best,Cristi=C3=A1n--5f6274d2_25973e32_4b6Content-Type: text/html; charset="utf-8"Content-Transfer-Encoding: quoted-printableContent-Disposition: inline
Hello everyone=21
Thanks in advance for any help on this topic. Anyone has experience on ho=w to capture a JSON payload that=E2=80=99s being sent via POST to a .tpl =with WebDNA=3F.
This is the post being sent:
curl -X 'POST' 'https://myhost.com/callback.tpl'; -H 'connection: close' =-H 'content-length: 396' -H 'content-type: application/json' -H 'accept: =*/*' -H 'host:&=23160;
myhost.com' -d =24'=7B=22id=5Faccount=22:1,=22client=22:=7B=22=rut=22:=2211111111-1=22,=22name=22:=22John=22,=22last=22:=22Doe=22,=22ema=il=22:=22
johndoe=40gmail.com=22,=22phone=22:=22999999999=22=7D,=22car=22:=7B=22=id=5Fmodel=22:4057,=22license=22:=22=22,=22year=22:=222006=22,=22brand=22=:=22CHEVROLET=22,=22model=22:=22COMBO VAN=22,=22version=22:=221.3 DIESEL =PL AB ABS MT 5P=22,=22miles=22:null=7D,=22quote=22:=7B=22price=22:1210000=,=22price=5Fmin=22:590000,=22price=5Fmax=22:2180000=7D,=22id=5Ftransactio=n=22:11=7D'
I=E2=80=99ve used =5BJSONstore=5D successfully in the past, but only when= my server sends the POST and the other party replies with a JSON, but th=is is the first time I=E2=80=99m receiving a payload that needs to be sav=ed.
=5Bformvariables=5D=5Bvalue=5D=5B/formvariables=5D is not working and I g=uess it does not apply for this kind of data.
Thanks in advance for any help.
Best,
Cristi=C3=A1n
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us--5f6274d2_25973e32_4b6--.
Associated Messages, from the most recent to the oldest:
2812--5f6274d2_25973e32_4b6Content-Type: text/plain; charset="utf-8"Content-Transfer-Encoding: quoted-printableContent-Disposition: inlineHello everyone=21Thanks in advance for any help on this topic. Anyone has experience on ho=w to capture a JSON payload that=E2=80=99s being sent via POST to a .tpl =with WebDNA=3F.This is the post being sent:curl -X 'POST' 'https://myhost.com/callback.tpl'; -H 'connection: close' =-H 'content-length: 396' -H 'content-type: application/json' -H 'accept: =*/*' -H 'host:=C2=A0myhost.com' -d =24'=7B=22id=5Faccount=22:1,=22client=22=:=7B=22rut=22:=2211111111-1=22,=22name=22:=22John=22,=22last=22:=22Doe=22=,=22email=22:=22johndoe=40gmail.com=22,=22phone=22:=22999999999=22=7D,=22=car=22:=7B=22id=5Fmodel=22:4057,=22license=22:=22=22,=22year=22:=222006=22=,=22brand=22:=22CHEVROLET=22,=22model=22:=22COMBO VAN=22,=22version=22:=22=1.3 DIESEL PL AB ABS MT 5P=22,=22miles=22:null=7D,=22quote=22:=7B=22price==22:1210000,=22price=5Fmin=22:590000,=22price=5Fmax=22:2180000=7D,=22id=5F=transaction=22:11=7D'I=E2=80=99ve used =5BJSONstore=5D successfully in the past, but only when= my server sends the POST and the other party replies with a JSON, but th=is is the first time I=E2=80=99m receiving a payload that needs to be sav=ed.=5Bformvariables=5D=5Bvalue=5D=5B/formvariables=5D is not working and I g=uess it does not apply for this kind of data.Thanks in advance for any help.Best,Cristi=C3=A1n--5f6274d2_25973e32_4b6Content-Type: text/html; charset="utf-8"Content-Transfer-Encoding: quoted-printableContent-Disposition: inline
Hello everyone=21
Thanks in advance for any help on this topic. Anyone has experience on ho=w to capture a JSON payload that=E2=80=99s being sent via POST to a .tpl =with WebDNA=3F.
This is the post being sent:
curl -X 'POST' 'https://myhost.com/callback.tpl'; -H 'connection: close' =-H 'content-length: 396' -H 'content-type: application/json' -H 'accept: =*/*' -H 'host:&=23160;
myhost.com' -d =24'=7B=22id=5Faccount=22:1,=22client=22:=7B=22=rut=22:=2211111111-1=22,=22name=22:=22John=22,=22last=22:=22Doe=22,=22ema=il=22:=22
johndoe=40gmail.com=22,=22phone=22:=22999999999=22=7D,=22car=22:=7B=22=id=5Fmodel=22:4057,=22license=22:=22=22,=22year=22:=222006=22,=22brand=22=:=22CHEVROLET=22,=22model=22:=22COMBO VAN=22,=22version=22:=221.3 DIESEL =PL AB ABS MT 5P=22,=22miles=22:null=7D,=22quote=22:=7B=22price=22:1210000=,=22price=5Fmin=22:590000,=22price=5Fmax=22:2180000=7D,=22id=5Ftransactio=n=22:11=7D'
I=E2=80=99ve used =5BJSONstore=5D successfully in the past, but only when= my server sends the POST and the other party replies with a JSON, but th=is is the first time I=E2=80=99m receiving a payload that needs to be sav=ed.
=5Bformvariables=5D=5Bvalue=5D=5B/formvariables=5D is not working and I g=uess it does not apply for this kind of data.
Thanks in advance for any help.
Best,
Cristi=C3=A1n
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us--5f6274d2_25973e32_4b6--.
=?utf-8?Q?Cristi=C3=A1n_Tapia?=
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
b12 cannot limit records returned and more. (1997)
[WebDNA] 8.0.2 Install on Yosemite Fails (2015)
Removing [showif] makes a big difference in speed (1997)
Initiating NewCart (1997)
Text data with spaces in them... (1997)
Date format question (1998)
[isfile] ? (1997)
multiple product databases (1997)
WebSite and *NO* Authentication Dialog Box!!? (1998)
shipcost (1997)
[WebDNA] [OT] DNS Services (2010)
possible, WebCat2.0 and checkboxes-restated (1997)
WebCat2 - Getting to the browser's username/password data (1997)
OBDC Support (1997)
Extended [ConvertChars] (1997)
One more time (1997)
[WebDNA] writing pdfs on the fly (Avery labels #5160) (2010)
Need hosting service (2000)
Not reading code (1997)
Emailer setup (1997)