[WebDNA] Receive JSON POST
This WebDNA talk-list message is from 2019
It keeps the original formatting.
numero = 114554
interpreted = N
texte = 2174--Apple-Mail=_80E8434A-4946-4DDA-A813-BCBB858AA2F2Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=us-asciiHi 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.dnaOn 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. =20Any way to see this data in WebDNA?MD--Apple-Mail=_80E8434A-4946-4DDA-A813-BCBB858AA2F2Content-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=us-ascii
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:
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 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=_80E8434A-4946-4DDA-A813-BCBB858AA2F2--.
Associated Messages, from the most recent to the oldest:
2174--Apple-Mail=_80E8434A-4946-4DDA-A813-BCBB858AA2F2Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=us-asciiHi 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.dnaOn 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. =20Any way to see this data in WebDNA?MD--Apple-Mail=_80E8434A-4946-4DDA-A813-BCBB858AA2F2Content-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=us-ascii
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:
On the receiving WebDNA template:
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 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=_80E8434A-4946-4DDA-A813-BCBB858AA2F2--.
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:
searching for not-a-number (2003)
Generating Report Totals (1997)
Format all of a sudden doesn't work (1997)
how does [middle] work? (1998)
listfiles shows invisible files ... (1999)
Text data with spaces in them... (1997)
creator code (1997)
Num Sort Descending (2004)
Suggestions (1998)
[WebDNA] HTTP Streaming -- impossible? (2010)
ConvertChars (2000)
[WebDNA] WebDNA restart script (2015)
best way to limit # of attempts to login to protected page? (2000)
Secure server question (1997)
Record Modified Date - SQL ? (2000)
copyfile (2003)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
WebCatalog 4 Install Problems (2000)
[WebDNA] Problem with [ListDatabases] - WebDNA CE 6.0a - Windows IIS 5.1 - Windows XP Pro Dev Box (2010)
[delete] problem (1997)