Re: [WebDNA] Receive JSON POST

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114556
interpreted = N
texte = 2176 ----=_RainLoop_929_749113871.1556085359 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Stuart,=0A=0ASorry, that was a typo/mistake on my part. I was using [Form= Variables], not [ListVariables]. Nothing in the results. I've tested on F= CGI and Server versions.=0AMD=0AApril 23, 2019 6:44 PM, "Stuart Tremain" = )> wrote:=0ATry=0A[FormVariable= s name=3D&exact=3DF][name] =3D [value]
=0A[/FormVariables] =0AListVar= iables will only list TEXT vars etc. =0AKind regards =0AStuart Tremain = =0APharoah Lane Software =0AAUSTRALIA =0Awebdna@plsoftware.com.au (mailto= :webdna@plsoftware.com.au) =0AOn 24 Apr 2019, at 11:03, Michael Davis wrote: =0A Hi All,=0AI'm = trying to receive JSON via a post and not seeing anything in form variabl= es or mime headers. As a test, I post using curl like so: =0Acurl -X POST= -H "Content-Type: application/json" -d '{"userName":"dim@witted.net (mai= lto:dim@witted.net)","password":"mybirthday"}' http://localhost/json_auth= ..dna (http://localhost/json_auth.dna) =0AOn the receiving WebDNA template= : =0A[ListVariables][name]=3D[value] =0A[/ListVariables][ListMIMEHeaders]= [name]=3D[value] =0A[/ListMIMEHeaders] =0AI get a list of the usual MIME= Headers, none include the JSON. LIstVariables returns nothing. =0AAny wa= y to see this data in WebDNA? =0AMD =0A ---------------------------------= ------------------------ This message is sent to you because you are subs= cribed to the mailing list talk@webdna.us (mailto:talk@webdna.us) To unsu= bscribe, E-mail to: talk-leave@webdna.us (mailto:talk-leave@webdna.us) ar= chives: http://www.webdna.us/page.dna?numero=3D55 (http://www.webdna.us/p= age.dna?numero=3D55) Bug Reporting: support@webdna.us (mailto:support@web= dna.us) --------------------------------------------------------- Thi= s message is sent to you because you are subscribed to the mailing list t= alk@webdna.us (mailto:talk@webdna.us) To unsubscribe, E-mail to: talk-lea= ve@webdna.us (mailto:talk-leave@webdna.us) archives: http://www.webdna.us= /page.dna?numero=3D55 (http://www.webdna.us/page.dna?numero=3D55) Bug Rep= orting: support@webdna.us (mailto:support@webdna.us) ----=_RainLoop_929_749113871.1556085359 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
S= tuart,

Sorry, that was a typo/mistake on my part. I was using [For= mVariables], not [ListVariables]. Nothing in the results. I've tested on = FCGI and Server versions.


MD


April 23, 2019 6:44 PM= , "Stuart Tremain" <webdna@plsoftware.com.au> wrote:
Try
[FormVaria= bles name=3D&exact=3DF][name] =3D [value]<br>
[/Form= Variables]
ListVariables w= ill only list TEXT vars etc.
Kind regards
Stuart Tremain
<= div>Pharoah Lan= e Software
AUSTRALIA



On = 24 Apr 2019, at 11:03, Michael Davis <admin@network13.net> wrote:
Hi All,
I'm trying to receive JSON via a post an= d not seeing anything in form variables or mime headers. As a test, I pos= t using curl like so:
curl -X POST -H = "Content-Type: application/json" -d '{"userName":"dim@witted.net","password":"mybirthday"}' http://localhost/json_auth.dna
On the receiving WebDN= A template:
-= -------------------------------------------------------- This message is = sent to you because you are subscribed to the mailing list talk@we= bdna.us To unsubscribe, E-mail to: talk-leave@webdna.us<= /a> archives: http://www.webdna.us/page.dna?nu= mero=3D55 Bug Reporting: support@webdna.us
=

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us ----=_RainLoop_929_749113871.1556085359-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Receive JSON POST (Stuart Tremain 2019)
  2. Re: [WebDNA] Receive JSON POST (Michael Davis 2019)
  3. Re: [WebDNA] Receive JSON POST (Stuart Tremain 2019)
  4. Re: [WebDNA] Receive JSON POST (Michael Davis 2019)
  5. Re: [WebDNA] Receive JSON POST (Stuart Tremain 2019)
  6. Re: [WebDNA] Receive JSON POST (Tom Duke 2019)
  7. Re: [WebDNA] Receive JSON POST (Tom Duke 2019)
  8. Re: [WebDNA] Receive JSON POST (Stuart Tremain 2019)
  9. Re: [WebDNA] Receive JSON POST (Stuart Tremain 2019)
  10. Re: [WebDNA] Receive JSON POST (Tom Duke 2019)
  11. Re: [WebDNA] Receive JSON POST (Stuart Tremain 2019)
  12. Re: [WebDNA] Receive JSON POST (Michael Davis 2019)
  13. Re: [WebDNA] Receive JSON POST (Stuart Tremain 2019)
  14. Re: [WebDNA] Receive JSON POST ("Michael Davis" 2019)
  15. Re: [WebDNA] Receive JSON POST (Stuart Tremain 2019)
  16. Re: [WebDNA] Receive JSON POST ("Michael Davis" 2019)
  17. Re: [WebDNA] Receive JSON POST (Stuart Tremain 2019)
  18. [WebDNA] Receive JSON POST (Michael Davis 2019)
2176 ----=_RainLoop_929_749113871.1556085359 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Stuart,=0A=0ASorry, that was a typo/mistake on my part. I was using [Form= Variables], not [listvariables]. Nothing in the results. I've tested on F= CGI and Server versions.=0AMD=0AApril 23, 2019 6:44 PM, "Stuart Tremain" = )> wrote:=0ATry=0A[FormVariable= s name=3D&exact=3DF][name] =3D [value]
=0A[/FormVariables] =0AListVar= iables will only list TEXT vars etc. =0AKind regards =0AStuart Tremain = =0APharoah Lane Software =0AAUSTRALIA =0Awebdna@plsoftware.com.au (mailto= :webdna@plsoftware.com.au) =0AOn 24 Apr 2019, at 11:03, Michael Davis wrote: =0A Hi All,=0AI'm = trying to receive JSON via a post and not seeing anything in form variabl= es or mime headers. As a test, I post using curl like so: =0Acurl -X POST= -H "Content-Type: application/json" -d '{"userName":"dim@witted.net (mai= lto:dim@witted.net)","password":"mybirthday"}' http://localhost/json_auth= ..dna (http://localhost/json_auth.dna) =0AOn the receiving WebDNA template= : =0A[listvariables][name]=3D[value] =0A[/ListVariables][listmimeheaders]= [name]=3D[value] =0A[/ListMIMEHeaders] =0AI get a list of the usual MIME= Headers, none include the JSON. LIstVariables returns nothing. =0AAny wa= y to see this data in WebDNA? =0AMD =0A ---------------------------------= ------------------------ This message is sent to you because you are subs= cribed to the mailing list talk@webdna.us (mailto:talk@webdna.us) To unsu= bscribe, E-mail to: talk-leave@webdna.us (mailto:talk-leave@webdna.us) ar= chives: http://www.webdna.us/page.dna?numero=3D55 (http://www.webdna.us/p= age.dna?numero=3D55) Bug Reporting: support@webdna.us (mailto:support@web= dna.us) --------------------------------------------------------- Thi= s message is sent to you because you are subscribed to the mailing list t= alk@webdna.us (mailto:talk@webdna.us) To unsubscribe, E-mail to: talk-lea= ve@webdna.us (mailto:talk-leave@webdna.us) archives: http://www.webdna.us= /page.dna?numero=3D55 (http://www.webdna.us/page.dna?numero=3D55) Bug Rep= orting: support@webdna.us (mailto:support@webdna.us) ----=_RainLoop_929_749113871.1556085359 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
S= tuart,

Sorry, that was a typo/mistake on my part. I was using [For= mVariables], not [listvariables]. Nothing in the results. I've tested on = FCGI and Server versions.


MD


April 23, 2019 6:44 PM= , "Stuart Tremain" <webdna@plsoftware.com.au> wrote:
Try
[FormVaria= bles name=3D&exact=3DF][name] =3D [value]<br>
[/Form= Variables]
ListVariables w= ill only list TEXT vars etc.
Kind regards
Stuart Tremain
<= div>Pharoah Lan= e Software
AUSTRALIA



On = 24 Apr 2019, at 11:03, Michael Davis <admin@network13.net> wrote:
Hi All,
I'm trying to receive JSON via a post an= d not seeing anything in form variables or mime headers. As a test, I pos= t using curl like so:
curl -X POST -H = "Content-Type: application/json" -d '{"userName":"dim@witted.net","password":"mybirthday"}' http://localhost/json_auth.dna
On the receiving WebDN= A template:
[listvariables][name]=3D[value]<= /div>
[/ListVariables][listmimeheaders][name]=3D[value]
[= /ListMIMEHeaders]
I get a list of the usual= MIME Headers, none include the JSON. LIstVariables returns nothing.
Any way to see this data in WebDNA?
=
MD
-----------------= ---------------------------------------- This message is sent to you beca= use you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna= ..us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
-= -------------------------------------------------------- This message is = sent to you because you are subscribed to the mailing list talk@we= bdna.us To unsubscribe, E-mail to: talk-leave@webdna.us<= /a> archives: http://www.webdna.us/page.dna?nu= mero=3D55 Bug Reporting: support@webdna.us
=

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us ----=_RainLoop_929_749113871.1556085359-- . "Michael Davis"

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:

[OT] Mac Utility Required (2000) [append] and SSL (1997) Great product and great job ! (1997) searchable list archive (1997) [SameAsShipping] (2005) Hairy Shipping Monster (2006) Include a big block of text (1997) Extra Text Fields (was Another question) (1997) Need relative path explanation (1997) Generating Options for a Form. (1997) WC2f3 (1997) Mac Vs WindowsNT (1997) Virtual hosting and webcatNT (1997) [Sum] function? (1997) WebDNA Verison 4.5 will Not Restart! This SUCKS! (2002) Passing Cart variable to subdirectory files? (1997) How far do [showif]s go? (1997) repost: sending a down arrow (2000) Fwd: Problems with Webcatalog Plug-in (1997) Associative lookup style? + bit more (1997)