Roger,
Not necessary to connect do their docs page, but its
http://webapp.transflodev.com/svc1.tran ... ration/sdk
The "notify" post is the simplist and the one they use for initial testing.No issue at all with that. tested at a couple of web site that allow test posting with headers and using the same headers as we are using Alaska, it is successful.
The issue is Alaska's Loadfromurl(), apparently.
Our post matches to what the web site wants except the loadfromurl has :
Content-Type: application/x-www-form-urlencoded
Cannot get rid of their Content-Type. Put the proper Content-Type in the Header and the Loadfromurl put it down as a Cookie, so it did not use it.
Below is what is expected..anything additional is ignored:
POST
http://webapp.transflodev.com/svc1.tran ... ifications HTTP/1.1
Authorization: Basic dGZsbzA2YzpMTGJCUnYyTFNkTnJUdkZlbG85M2VnPT0=
Content-type: application/json
Host: webapp.transflodev.com
Content-Length: 175
And here is what they get, which errors out due to the content type
POST /svc1.transflomobile.com/integration/api/v1/notifications/ HTTP/1.1
Cache-Control: no-cache
Content-Length: 149
Content-Type: application/x-www-form-urlencoded
Accept: application/json
Authorization: Basic dGZsbzA2YzpMTGJCUnYyTFNkTnJUdkZlbG85M2VnPT0=
Cookie: Content-Type: application/json
Host: webapp.transflodev.com
User-Agent: Mozilla/4.7+[ja]+(WinNT;+I)
I did look at chiklat and their post example and it would post exactly as they request. I have not downloaded it yet, but I did copy their examples to use for next week if the content-Type cannot be fixed for Loadfromurl(). I would have sworn one of the other responders said they did use Loadfromurl() for jasn. Maybe Alaska does not support Jasn, or I do not have a current version. Using 2.0
Have a good weekend (or rest of it)
Fred