Alright, i'll be sure to test it out.
Great info.
Thanks
Search found 16 matches
- Fri Jul 13, 2012 10:10 pm
- Forum: Internet
- Topic: HTTP Post help - Part 2
- Replies: 17
- Views: 15459
- Fri Jul 13, 2012 9:36 pm
- Forum: Internet
- Topic: HTTP Post help - Part 2
- Replies: 17
- Views: 15459
Re: HTTP Post help - Part 2
Perfect! Thank you.
- Fri Jul 13, 2012 9:29 pm
- Forum: Internet
- Topic: HTTP Post help - Part 2
- Replies: 17
- Views: 15459
Re: HTTP Post help - Part 2
Thanks a bunch! Okay removing the uniEncode Fixed it. Here is the response.. Which is awesome! Because like you suggested I checked with fiddlers and looked at the response and it is the exact same! :D But when I do it in Chrome after I get this response I get redirected to another page (which I wil...
- Fri Jul 13, 2012 8:39 pm
- Forum: Internet
- Topic: HTTP Post help - Part 2
- Replies: 17
- Views: 15459
Re: HTTP Post help - Part 2
Brilliant! That makes sense. I'm really sorry to petition for your knowledge once more but now here is the the server error I get after implementing your fix. So from what I understand the server is having an issue parsing the name element.. But I guess its not very telling because when I delete the...
- Fri Jul 13, 2012 6:52 pm
- Forum: Internet
- Topic: HTTP Post help - Part 2
- Replies: 17
- Views: 15459
Re: HTTP Post help - Part 2
Yeah, that data is basically the XML file the only difference is that it has "RXInput=" at the first. So maybe thats why it needs to treat it as urlencoded data.. From the rest website where I am posting it, the header is set to www-form-urlencoded so I would imagine I'm okay there.. Any other ideas...
- Fri Jul 13, 2012 5:23 pm
- Forum: Internet
- Topic: HTTP Post help - Part 2
- Replies: 17
- Views: 15459
Re: HTTP Post help - Part 2
I'm hoping this will help, I used Fiddler to track the post request where is worked and this is what it looks like. (note I have changed some of the urls in the past but not in this header data..) POST /InterfaceV7/RxEntry. aspx HTTP/1.1 Host: secure . newcropaccounts . com Proxy-Connection: keep-al...
- Fri Jul 13, 2012 4:29 pm
- Forum: Internet
- Topic: HTTP Post help - Part 2
- Replies: 17
- Views: 15459
Re: HTTP Post help - Part 2
Are you posting www-form data? That's what your header says. I am posting an xml file/string like the following. Do I need to change my header? put "RxInput=<?xml version='1.0' encoding='utf-8'?>" & cr & \ "<NCScript xmlns='httpsecureexamplecominterfaceV2' xmlns:NCStandard='httpsecureexamplecominte...
- Thu Jul 12, 2012 9:51 pm
- Forum: Internet
- Topic: HTTP Post help - Part 2
- Replies: 17
- Views: 15459
Re: HTTP Post help - Part 2
Sorry I probably should have kept it on the same thread. I was just uniEncoding myData. put urlEncode(uniEncode(myData,"utf8")) into myData // encoding utf-8 post myData to URL "http//secureexamplecom/InterfaceV2/testaspx" Hey shaosean, I just tried the urlEncode on myData but unfortunately I still ...
- Thu Jul 12, 2012 5:34 pm
- Forum: Internet
- Topic: HTTP Post help - Part 2
- Replies: 17
- Views: 15459
HTTP Post help - Part 2
The Content type should be - application/x-www-form-urlencoded The encoding should be - utf-8 I should be good with the Content-type because it defaults to application/x-www-form-urlencoded I wonder if i encoding to utf8 correctly because when I return IT i am still getting a server error. But if I ...
- Thu Jul 12, 2012 4:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to create a new line (return) in live code
- Replies: 3
- Views: 5939
- Thu Jul 12, 2012 4:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to create a new line (return) in live code
- Replies: 3
- Views: 5939
How to create a new line (return) in live code
Hey,
Lets say I am trying to get the following string -
"Hello
World"
I don't know how to make it so that there is a new line between Hello and World
This is currently how my code looks.
"HelloWorld"
How can I make a new line in live code?
Thanks
Lets say I am trying to get the following string -
"Hello
World"
I don't know how to make it so that there is a new line between Hello and World
This is currently how my code looks.
Code: Select all
put "Hello" &\
"World" into myString
How can I make a new line in live code?
Thanks
- Wed Jul 11, 2012 9:24 pm
- Forum: Internet
- Topic: HTTP POST help
- Replies: 6
- Views: 6303
Re: HTTP POST help
Okay Perfect,
Thanks again both of you for your help!
Thanks again both of you for your help!
- Wed Jul 11, 2012 5:31 pm
- Forum: Internet
- Topic: HTTP POST help
- Replies: 6
- Views: 6303
Re: HTTP POST help
Thanks for the information gpb01, I do have another question about the browser though. For the browser, you can create a native browser ... look inside the LiveCodeNotes for iOS. What about a solution for all devices not just iOS? Does anyone have a simple example of a browser? I found one in the he...
- Wed Jul 11, 2012 3:37 pm
- Forum: Internet
- Topic: HTTP POST help
- Replies: 6
- Views: 6303
HTTP POST help
Hey, I have a few questions I am stuck on, and would greatly appreciate your help. 1. From what I have seen the command - launch url "abc.xyz" will open up the default browser on the system. I did some research and it seems to be possible to do it internally on mobile IOS devices. From what I have s...
- Tue Jul 10, 2012 5:35 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Issue Parsing XML in live code, Insights appreciated.
- Replies: 2
- Views: 2346
Re: Issue Parsing XML in live code, Insights appreciated.
That did it!
Thanks
Thanks