[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTPAPI Timeout issue



I will when I get a free moment to jump back on that project, but it will
be tonight at the latest.

Thanks for the reply,

Dutch


>    Hi Dutch,
>    can you please put a http_debug in here?
>    Thx,
>    RaduÂ
>
>    On Mon, Feb 23, 2015 at 11:19 AM, RPG List <[1]rpglist@xxxxxxxxxxx>
>    wrote:
>
>      Scott,
>      I tried that, but I'm still getting a timeout.  I believe that they
>      are
>      expecting the username to be passed as a parameter not as basic_auth
>      > Dutch,
>      >
>      > User/Password in HTTPAPI are set by calling the http_setAuth()
>      > routine.   Assuming you want Basic authentication (which is the
>      default
>      > in web browsers) you'd do it like this:
>      >
>      >       c                   callp     http_setAuth(
>      HTTP_AUTH_BASIC
>      >       c                             :
>      'sk_test_BQokikJOvBiI2HlWgH4olfQ2'
>      >       c                             : '' );
>      >Â  Â  Â  Â c
>      >       c                   eval      rc =
>      http_url_post(
>      >Â  Â  Â  Â c '[2]https://api.stripe.com/v1/charges'
>      >       c                             : myPointer
>      >       c                             : dataSize
>      >       c                             :
>      '/tmp/testpost.html'
>      >       c                             :
>      HTTP_TIMEOUT
>      >       c                             :
>      HTTP_USERAGENT
>      >       c                             :
>      'application/x-www-form-urlencoded'
>      > )
>      >
>      >
>      > On 2/22/2015 7:04 AM, RPG List wrote:
>      >> Scott,
>      >> I am attempting to send a login credential, no password, just the
>      login.
>      >>
>      >> It must be sent via https and with
>      application/x-www-form-urlencoded, I
>      >> thought I could use the curl example but I see that was wrong.
>      >>
>      >>
>      >>
>      >>
>      --------------------------------------------------------------------
>      ---
>      >> This is the FTPAPI mailing list.  To unsubscribe, please go to:
>      >> [3]http://www.scottklement.com/mailman/listinfo/ftpapi
>      >>
>      --------------------------------------------------------------------
>      ---
>      >>
>      >
>      >
>      --------------------------------------------------------------------
>      ---
>      > This is the FTPAPI mailing list.  To unsubscribe, please go to:
>      > [4]http://www.scottklement.com/mailman/listinfo/ftpapi
>      >
>      --------------------------------------------------------------------
>      ---
>      >
>      --------------------------------------------------------------------
>      ---
>      This is the FTPAPI mailing list.  To unsubscribe, please go to:
>      [5]http://www.scottklement.com/mailman/listinfo/ftpapi
>      --------------------------------------------------------------------
>      ---
>
>    --
>    R.
>
> References
>
>    1. mailto:rpglist@xxxxxxxxxxx
>    2. https://api.stripe.com/v1/charges
>    3. http://www.scottklement.com/mailman/listinfo/ftpapi
>    4. http://www.scottklement.com/mailman/listinfo/ftpapi
>    5. http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------