CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2013

    winhttp authentication with api key

    attempting to program an application that interfaces with an e-commerce site that has a restful api. from what I understand winhttp can do this. but I have no idea where I'm supposed to put the api key they supply for the user credentials.

    obviously I can provide more information.

    any help would be great.

  2. #2
    Join Date
    Apr 2000
    Belgium (Europe)

    Re: winhttp authentication with api key

    it depends on how that site does it's work, that info would either be part of the URL or part of the info that is posted to the server alongside the query.

    Again, depending on how the site works, you would either need to provide the key as is in each request. It might require encryption, or it might require a formal logon/authentication which returns some form of cookie or sessionID which you then use in subsequent calls to the site.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.