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 take the value of myData and post it using a REST test website it works.
Code: Select all
put uniEncode(myData,"utf8") into myData // encoding utf-8
post myData to URL "http//secureexamplecom/InterfaceV2/testaspx"
POST /InterfaceV2/testaspx HTTP/1.1
Host: secureexamplecom
User-Agent: LiveCode (MacOS)
Content-Length: 5344
Content-Type: application/x-www-form-urlencoded
Am I missing something? Do I need to add the utf-8 encoding to the header data somehow instead?
Here is a screen shot of the REST test website where the same content(myData) is working.
Apparently its not working because of permissions but if you go to this url you can see it. (add the . before com and http)
[img]i1146.photobucketcom/albums/o525/TrevorDowdle/ScreenShot2012-07-12at102756AM.png[/img]
Thanks