Re: [WebDNA] JSONobject
This WebDNA talk-list message is from 2020
It keeps the original formatting.
numero = 115186
interpreted = N
texte = 2815--Apple-Mail-07288FE1-9466-43E0-8C79-D9B311A511B6Content-Type: text/plain;charset=utf-8Content-Transfer-Encoding: quoted-printableHello Stuart,Thanks for your reply. Any of the alternatives you are mentioning would work= for me. Right now I=E2=80=99m blind and I don=E2=80=99t know if WebDNA will= be able to capture the payload so I=E2=80=99m open to consider any option.I=E2=80=99m using version 8.5.1 of the accelerated FastCGI on Linux=20@Tom, as I mentioned on my previous email, I tried using [formvariables] and= unfortunately didn=E2=80=99t work.Best,Cristi=C3=A1n> El 16-09-2020, a la(s) 20:23, talk@webdna.us escribi=C3=B3:> =EF=BB=BFHi Christian>=20> Do you mean that you want to save the response as a text file or do you wa=nt to save the JSON pairs to a db ?>=20> Or do you just need to break down the JSON into "name=3Dvalue" pairs ?>=20> What version of WebNDA are you using - there have been sone nice JSON usag=e updates in the newer versions.>=20> This is a good place to start: http://webdna.us/page.dna?numero=3D307>=20> Kind regards>=20> Stuart Tremain> Pharoah Lane Software> AUSTRALIA> webdna@plsoftware.com.au>=20>=20>=20>=20>=20>=20>=20>> On 17 Sep 2020, at 06:25, talk@webdna.us wrote:>>=20>> Hello everyone!>>=20>> 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 wit=h WebDNA?.>>=20>> This is the post being sent:>>=20>> curl -X 'POST' 'https://myhost.com/callback.tpl'; -H 'connection: close' -=H 'content-length: 396' -H 'content-type: application/json' -H 'accept: */*'= -H 'host: myhost.com' -d $'{"id_account":1,"client":{"rut":"11111111-1","na=me":"John","last":"Doe","email":"johndoe@gmail.com","phone":"999999999"},"ca=r":{"id_model":4057,"license":"","year":"2006","brand":"CHEVROLET","model":"=COMBO VAN","version":"1.3 DIESEL PL AB ABS MT 5P","miles":null},"quote":{"pr=ice":1210000,"price_min":590000,"price_max":2180000},"id_transaction":11}'>>=20>> I=E2=80=99ve used [JSONstore] successfully in the past, but only when my s=erver sends the POST and the other party replies with a JSON, but this is th=e first time I=E2=80=99m receiving a payload that needs to be saved.>>=20>> [formvariables][value][/formvariables] is not working and I guess it does= not apply for this kind of data.>>=20>> Thanks in advance for any help.>> Best,>> Cristi=C3=A1n>> --------------------------------------------------------- This message is= sent to you because you are subscribed to the mailing list talk@webdna.us T=o unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.u=s/page.dna?numero=3D55 Bug Reporting: support@webdna.us--Apple-Mail-07288FE1-9466-43E0-8C79-D9B311A511B6Content-Type: text/html;charset=utf-8Content-Transfer-Encoding: quoted-printable
Hello Stuart,
<=div>Thanks for your reply. Any of the alternatives you are mentioning would w=ork for me. Right now I=E2=80=99m blind and I don=E2=80=99t know if WebDNA w=ill be able to capture the payload so I=E2=80=99m open to consider any optio=n.
I=E2=80=99m using version 8.5.1 of the accelerat=ed FastCGI on Linux
@Tom, as I mentioned on m=y previous email, I tried using [formvariables] and unfortunately didn=E2=80==99t work.
Best,
El 16-09-2020=, a la(s) 20:23, talk@webdna.us escribi=C3=B3:
=EF=BB=BF
Hi Christian
Do you mean that you want to save the res=ponse as a text file or do you want to save the JSON pairs to a db ?
Or do you just need to br=eak down the JSON into "name=3Dvalue" pairs ?
What version of WebNDA are you using - there hav=e been sone nice JSON usage updates in the newer versions.
Kind regards
Stuart Tremain
Pharoah Lane Software
AUSTRALIA
Hello everyone!
Thanks in advance for any help on this topic. Anyone has experience on how t=o capture a JSON payload that=E2=80=99s being sent via POST to a .tpl with W=ebDNA?.
This is the post being sent:
curl -X 'POST' '
https://myhost.com/callback.tpl'; -H 'connection: close' -H 'content-leng=th: 396' -H 'content-type: application/json' -H 'accept: */*' -H 'host:&=nbsp;
myhost.com<=/a>' -d $'{"id_account":1,"client":{"rut":"11111111-1","name":"John","last":="Doe","email":"johndoe@gmail.com","phone":"999999999"},"car":{"id_model":4057,"licen=se":"","year":"2006","brand":"CHEVROLET","model":"COMBO VAN","version":"1.3 D=IESEL PL AB ABS MT 5P","miles":null},"quote":{"price":1210000,"price_min":59=0000,"price_max":2180000},"id_transaction":11}'
I=E2=80=99ve used [JSONstore] successfully in the past, but only when my ser=ver sends the POST and the other party replies with a JSON, but this is the f=irst time I=E2=80=99m receiving a payload that needs to be saved.
[formvariables][value][/formvariables] is not working and I guess it does no=t 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.us=To unsubscribe, E-mail to:
talk-leave@webdna.usarchives:
h=ttp://www.webdna.us/page.dna?numero=3D55Bug Reporting:
support@webdn=a.us
=---------------------------------------------------------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--Apple-Mail-07288FE1-9466-43E0-8C79-D9B311A511B6--.
Associated Messages, from the most recent to the oldest:
2815--Apple-Mail-07288FE1-9466-43E0-8C79-D9B311A511B6Content-Type: text/plain;charset=utf-8Content-Transfer-Encoding: quoted-printableHello Stuart,Thanks for your reply. Any of the alternatives you are mentioning would work= for me. Right now I=E2=80=99m blind and I don=E2=80=99t know if WebDNA will= be able to capture the payload so I=E2=80=99m open to consider any option.I=E2=80=99m using version 8.5.1 of the accelerated FastCGI on Linux=20@Tom, as I mentioned on my previous email, I tried using
[formvariables] and= unfortunately didn=E2=80=99t work.Best,Cristi=C3=A1n> El 16-09-2020, a la(s) 20:23, talk@webdna.us escribi=C3=B3:> =EF=BB=BFHi Christian>=20> Do you mean that you want to save the response as a text file or do you wa=nt to save the JSON pairs to a db ?>=20> Or do you just need to break down the JSON into "name=3Dvalue" pairs ?>=20> What version of WebNDA are you using - there have been sone nice JSON usag=e updates in the newer versions.>=20> This is a good place to start: http://webdna.us/page.dna?numero=3D307>=20> Kind regards>=20> Stuart Tremain> Pharoah Lane Software> AUSTRALIA> webdna@plsoftware.com.au>=20>=20>=20>=20>=20>=20>=20>> On 17 Sep 2020, at 06:25, talk@webdna.us wrote:>>=20>> Hello everyone!>>=20>> 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 wit=h WebDNA?.>>=20>> This is the post being sent:>>=20>> curl -X 'POST' 'https://myhost.com/callback.tpl'; -H 'connection: close' -=H 'content-length: 396' -H 'content-type: application/json' -H 'accept: */*'= -H 'host: myhost.com' -d $'{"id_account":1,"client":{"rut":"11111111-1","na=me":"John","last":"Doe","email":"johndoe@gmail.com","phone":"999999999"},"ca=r":{"id_model":4057,"license":"","year":"2006","brand":"CHEVROLET","model":"=COMBO VAN","version":"1.3 DIESEL PL AB ABS MT 5P","miles":null},"quote":{"pr=ice":1210000,"price_min":590000,"price_max":2180000},"id_transaction":11}'>>=20>> I=E2=80=99ve used
[JSONstore] successfully in the past, but only when my s=erver sends the POST and the other party replies with a JSON, but this is th=e first time I=E2=80=99m receiving a payload that needs to be saved.>>=20>>
[formvariables][value][/formvariables] is not working and I guess it does= not apply for this kind of data.>>=20>> Thanks in advance for any help.>> Best,>> Cristi=C3=A1n>> --------------------------------------------------------- This message is= sent to you because you are subscribed to the mailing list talk@webdna.us T=o unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.u=s/page.dna?numero=3D55 Bug Reporting: support@webdna.us--Apple-Mail-07288FE1-9466-43E0-8C79-D9B311A511B6Content-Type: text/html;charset=utf-8Content-Transfer-Encoding: quoted-printable
Hello Stuart,
<=div>Thanks for your reply. Any of the alternatives you are mentioning would w=ork for me. Right now I=E2=80=99m blind and I don=E2=80=99t know if WebDNA w=ill be able to capture the payload so I=E2=80=99m open to consider any optio=n.
I=E2=80=99m using version 8.5.1 of the accelerat=ed FastCGI on Linux
@Tom, as I mentioned on m=y previous email, I tried using
[formvariables] and unfortunately didn=E2=80==99t work.
Best,
El 16-09-2020=, a la(s) 20:23, talk@webdna.us escribi=C3=B3:
=EF=BB=BF
Hi Christian
Do you mean that you want to save the res=ponse as a text file or do you want to save the JSON pairs to a db ?
Or do you just need to br=eak down the JSON into "name=3Dvalue" pairs ?
What version of WebNDA are you using - there hav=e been sone nice JSON usage updates in the newer versions.
Kind regards
Stuart Tremain
Pharoah Lane Software
AUSTRALIA
Hello everyone!
Thanks in advance for any help on this topic. Anyone has experience on how t=o capture a JSON payload that=E2=80=99s being sent via POST to a .tpl with W=ebDNA?.
This is the post being sent:
curl -X 'POST' '
https://myhost.com/callback.tpl'; -H 'connection: close' -H 'content-leng=th: 396' -H 'content-type: application/json' -H 'accept: */*' -H 'host:&=nbsp;
myhost.com<=/a>' -d $'{"id_account":1,"client":{"rut":"11111111-1","name":"John","last":="Doe","email":"johndoe@gmail.com","phone":"999999999"},"car":{"id_model":4057,"licen=se":"","year":"2006","brand":"CHEVROLET","model":"COMBO VAN","version":"1.3 D=IESEL PL AB ABS MT 5P","miles":null},"quote":{"price":1210000,"price_min":59=0000,"price_max":2180000},"id_transaction":11}'
I=E2=80=99ve used
[JSONstore] successfully in the past, but only when my ser=ver sends the POST and the other party replies with a JSON, but this is the f=irst time I=E2=80=99m receiving a payload that needs to be saved.
[formvariables][value][/formvariables] is not working and I guess it does no=t 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.us=To unsubscribe, E-mail to:
talk-leave@webdna.usarchives:
h=ttp://www.webdna.us/page.dna?numero=3D55Bug Reporting:
support@webdn=a.us
=---------------------------------------------------------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--Apple-Mail-07288FE1-9466-43E0-8C79-D9B311A511B6--.
=?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:
Search design (1997)
Nesting format tags (1997)
Google Sitemap generator (2005)
user flush db (2002)
[TEXT SECURE=T] (2000)
Missing something simple? (1999)
Emailer and encryption (1997)
Forms Search Questions (1997)
old cart file deletion (2000)
Sizes/Colors Options (2006)
WC Database Format (1997)
Sorting by date (1997)
new PurgeDatabase command? (was NT vs Mac) (1997)
Size limit for tmpl editor ? (1997)
shipping costs (2000)
Dark Horse Comics success story (1997)
Hairy Shipping Monster (2006)
Bug Report, maybe (1997)
Bug Report, maybe (1997)
Size limit for tmpl editor ? (1997)