Re: [WebDNA] Receive JSON POST

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114555
interpreted = N
texte = 2175 --Apple-Mail=_D7B274F5-EA6A-4558-9343-89DFA84637BA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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 > On 24 Apr 2019, at 11:03, Michael Davis wrote: >=20 > Hi All, >=20 > 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: >=20 > curl -X POST -H "Content-Type: application/json" -d = '{"userName":"dim@witted.net = ","password":"mybirthday"}' = http://localhost/json_auth.dna >=20 >=20 > On the receiving WebDNA template: >=20 > [ListVariables][name]=3D[value] > [/ListVariables][ListMIMEHeaders][name]=3D[value] > [/ListMIMEHeaders] >=20 > I get a list of the usual MIME Headers, none include the JSON. = LIstVariables returns nothing. =20 >=20 > Any way to see this data in WebDNA? >=20 >=20 >=20 > MD >=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=_D7B274F5-EA6A-4558-9343-89DFA84637BA Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii 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 --Apple-Mail=_D7B274F5-EA6A-4558-9343-89DFA84637BA-- . 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)
2175 --Apple-Mail=_D7B274F5-EA6A-4558-9343-89DFA84637BA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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 > On 24 Apr 2019, at 11:03, Michael Davis wrote: >=20 > Hi All, >=20 > 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: >=20 > curl -X POST -H "Content-Type: application/json" -d = '{"userName":"dim@witted.net = ","password":"mybirthday"}' = http://localhost/json_auth.dna >=20 >=20 > On the receiving WebDNA template: >=20 > [listvariables][name]=3D[value] > [/ListVariables][listmimeheaders][name]=3D[value] > [/ListMIMEHeaders] >=20 > I get a list of the usual MIME Headers, none include the JSON. = LIstVariables returns nothing. =20 >=20 > Any way to see this data in WebDNA? >=20 >=20 >=20 > MD >=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=_D7B274F5-EA6A-4558-9343-89DFA84637BA Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii 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 --Apple-Mail=_D7B274F5-EA6A-4558-9343-89DFA84637BA-- . 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:

Something wrong with this list? (2006) 'page impression' techniques for banner ads (1999) syntax question, not in online refernce (1997) Secure Server (1997) search results through frames (2000) Emailer connect failure definitions (2003) Log-in Scheme (2003) Password problems with WebCat 4.01 (2000) searching by date (1998) database size? (1997) Why does 0 divided by 1=1? (2003) OT - How to pay commissions to non US affiliates? (2000) Maybe off topic but how to charge (1997) CAPTCHA system in webDNA (2005) Parse question (2005) New Calendar Snippet (1998) [OT] Who's got a cool link (2002) Emailer (1997) [WebDNA] macOS High Sierra (2017) includes (2003)