Re: [WebDNA] Receive JSON POST

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114557
interpreted = N
texte = 2177 --Apple-Mail=_E9D3517A-115E-48B8-8A1B-75EB521A69C4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Have you have a look at the source code of the resulting page ? Sometimes, depending on the browser, it does not display on the rendered = page. Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 24 Apr 2019, at 15:55, Michael Davis wrote: >=20 > Stuart, >=20 > Sorry, that was a typo/mistake on my part. I was using = [FormVariables], not [ListVariables]. Nothing in the results. I've = tested on FCGI and Server versions. >=20 >=20 > MD >=20 >=20 > April 23, 2019 6:44 PM, "Stuart Tremain" > wrote: > Try > [FormVariables name=3D&exact=3DF][name] =3D [value]
> [/FormVariables] > ListVariables will only list TEXT vars etc. > Kind regards > Stuart Tremain > Pharoah Lane Software > AUSTRALIA > webdna@plsoftware.com.au >=20 >=20 >=20 >> On 24 Apr 2019, at 11:03, Michael Davis > wrote: >> Hi All, >> I'm trying to receive JSON via a post and not seeing anything in form = variables or mime headers. As a test, I post 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 WebDNA template: >> [ListVariables][name]=3D[value] >> [/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 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 = ------------------------------------------------= --------- 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 >=20 > --------------------------------------------------------- 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 --Apple-Mail=_E9D3517A-115E-48B8-8A1B-75EB521A69C4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Have = you have a look at the source code of the resulting page ?

Sometimes, depending on = the browser, it does not display on the rendered page.


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 24 Apr 2019, at 15:55, Michael Davis <admin@network13.net>= wrote:

Stuart,

Sorry, that was a = typo/mistake on my part. I was using [FormVariables], 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
[FormVariables = name=3D&exact=3DF][name] =3D [value]<br>
[/FormVariables]
ListVariables = will only list TEXT vars etc.
Kind regards
Stuart Tremain
Pharoah Lane = 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 and not seeing anything = in form variables or mime headers. As a test, I post 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 WebDNA template:
=
[ListVariables][name]=3D[value]
[/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 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
= --------------------------------------------------------- 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 =


--------------------------------------------------------- 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

= --------------------------------------------------------- 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 --Apple-Mail=_E9D3517A-115E-48B8-8A1B-75EB521A69C4-- . 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)
2177 --Apple-Mail=_E9D3517A-115E-48B8-8A1B-75EB521A69C4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Have you have a look at the source code of the resulting page ? Sometimes, depending on the browser, it does not display on the rendered = page. Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 24 Apr 2019, at 15:55, Michael Davis wrote: >=20 > Stuart, >=20 > Sorry, that was a typo/mistake on my part. I was using = [formvariables], not [listvariables]. Nothing in the results. I've = tested on FCGI and Server versions. >=20 >=20 > MD >=20 >=20 > April 23, 2019 6:44 PM, "Stuart Tremain" > wrote: > Try > [FormVariables name=3D&exact=3DF][name] =3D [value]
> [/FormVariables] > ListVariables will only list TEXT vars etc. > Kind regards > Stuart Tremain > Pharoah Lane Software > AUSTRALIA > webdna@plsoftware.com.au >=20 >=20 >=20 >> On 24 Apr 2019, at 11:03, Michael Davis > wrote: >> Hi All, >> I'm trying to receive JSON via a post and not seeing anything in form = variables or mime headers. As a test, I post 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 WebDNA template: >> [listvariables][name]=3D[value] >> [/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 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 = ------------------------------------------------= --------- 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 >=20 > --------------------------------------------------------- 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 --Apple-Mail=_E9D3517A-115E-48B8-8A1B-75EB521A69C4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Have = you have a look at the source code of the resulting page ?

Sometimes, depending on = the browser, it does not display on the rendered page.


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 24 Apr 2019, at 15:55, Michael Davis <admin@network13.net>= wrote:

Stuart,

Sorry, that was a = typo/mistake on my part. I was using [formvariables], 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
[FormVariables = name=3D&exact=3DF][name] =3D [value]<br>
[/FormVariables]
ListVariables = will only list TEXT vars etc.
Kind regards
Stuart Tremain
Pharoah Lane = 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 and not seeing anything = in form variables or mime headers. As a test, I post 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 WebDNA template:
=
[listvariables][name]=3D[value]
[/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 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
= --------------------------------------------------------- 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 =


--------------------------------------------------------- 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

= --------------------------------------------------------- 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 --Apple-Mail=_E9D3517A-115E-48B8-8A1B-75EB521A69C4-- . Stuart Tremain

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:

Sum of [founditems] ? (2004) Deleting Orders (1997) Robust WebDNA Job Manager / Accountant (2006) Secure server question (1997) Extended [ConvertChars] (1997) Capitalize special cases (2000) Re[2]: 2nd WebCatalog2 Feature Request (1996) Dismissing dialogs (was 2.1b3 --> way slow) (1997) Users.db (1998) Problem with date and ranges (2002) nested ListWords? (2003) Quit revisited (1997) WCS Newbie question (1997) Car Database (2002) Replace Statement (1997) Quotation Marks in Database (1998) PCS Frames-Default page is solution! (1997) Webcat Manual and TeaRoom Examples Uses Different Examples. (1997) OT - royalty free images (2002) Free shipping (2000)