Hi,

I never used basic header authentication, so I searched a bit and saw that
seems to be based on adding custom headers and, FWICS encode in base64. If
that's all the needed pieces, correct me If I'm missing something, I think
we have all what you need. You can add headers with HTTPHeader to
HTTPService and we have Base64 class to encode/decode to base64 (or if you
don't need IE11, you can use native js methods here). Let me know if
there's something more involved that I'm not taking into account.
thanks

Carlos




El mié., 26 sept. 2018 a las 18:12, Alex Harui (<[email protected]>)
escribió:

> Hi Ramazan,
>
>
>
> If you want to use Royale, do you plan to use Cordova to run the
> application, or a browser?
>
>
>
> It might be best to set up a simple test case with Royale, open a GitHub
> issue, attach the test case, and we can try to help you get it working.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Ramazan Ergüder Bekrek <[email protected]>
> *Reply-To: *"[email protected]" <[email protected]>
> *Date: *Wednesday, September 26, 2018 at 8:22 AM
> *To: *"[email protected]" <[email protected]>
> *Subject: *Re: HTTPService and Stripe API
>
>
>
> I'm using Apache Flex 4.16.1 but it doesn't work.
>
> I would like to use the Apache Royale HTTPService.
>
>
>
> 26.09.2018, 17:08, "Alex Harui" <[email protected]>:
>
> Hi Ramazan,
>
>
>
> Are you using Royale or Flex?  If Flex, please re-send your question on
> the [email protected] mailing list.
>
>
>
> Either way, also provide the exact error you are getting.
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Ramazan Ergüder Bekrek <[email protected]>
> *Reply-To: *"[email protected]" <[email protected]>
> *Date: *Wednesday, September 26, 2018 at 2:25 AM
> *To: *"[email protected]" <[email protected]>
> *Subject: *HTTPService and Stripe API
>
>
>
> Hi guys I was wondering if it is possible to use the HTTPService with
> custom Authentication: Basic header.
>
> I tried to implement the Strip API with normal Adobe AIR and URLLoader
> with URLRequest but somehow
>
> the calls to the https://api.stripe.com/v1/charges
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapi.stripe.com%2Fv1%2Fcharges&data=02%7C01%7Caharui%40adobe.com%7C148d1c9c40d7488c5fae08d623c3df19%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636735721498787160&sdata=vtBukCxpPK1F7GE%2BX166SoOPxU0B57tAT5r%2Fx9Xb3gw%3D&reserved=0>
>  returns
> Stream error all the time.
>
>
>
> I don't know why this happened and I would like to go forward with the
> implementation.
>
> I thought that the new HTTPService would work inside of AIR.
>
>
>
> Thanx for your feedback
>
>
>
> Gügü
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to