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.
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.