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:

A few questions. . . (1997) Multiple cart additions (1997) japanese characters (1997) mail sent from webcatalog. accented chars! (1998) db protection on NT (1997) WebDNA Writer Needed (1997) How to best sort in a pre-defined item-by-item order ... (2003) RE: Search (1997) Error: Can't open order file. Ignoring [OrderFile] context (2000) looping table rows (1999) DocNote#1 - GREP info missing ... (2000) [WriteFile] problems (1997) WebCatalog2 Feature Feedback (1996) Sub Totals (2000) Frames and WebCat (1997) Sort (2003) New commands in Final candidate (1997) Conversion Database Blues (2001) Comments in db? (1997) Record size (1998)