Click here to Skip to main content
15,889,116 members
Home / Discussions / CodeProject API
   

CodeProject API

 
AnswerRe: Question about the Client IDs Pin
Matthew Dennis5-Oct-14 6:53
sysadminMatthew Dennis5-Oct-14 6:53 
GeneralRe: Question about the Client IDs Pin
Thomas Daniels5-Oct-14 7:12
mentorThomas Daniels5-Oct-14 7:12 
GeneralThe API site is down Pin
Pete O'Hanlon3-Oct-14 9:55
mvePete O'Hanlon3-Oct-14 9:55 
GeneralRe: The API site is down Pin
Matthew Dennis3-Oct-14 10:15
sysadminMatthew Dennis3-Oct-14 10:15 
QuestionHierarchical Relations between the Forum Messages? Pin
Agent__00729-Sep-14 18:49
professionalAgent__00729-Sep-14 18:49 
AdminRe: Hierarchical Relations between the Forum Messages? Pin
Matthew Dennis30-Sep-14 5:34
sysadminMatthew Dennis30-Sep-14 5:34 
AnswerRe: Hierarchical Relations between the Forum Messages? Pin
Matthew Dennis30-Sep-14 6:31
sysadminMatthew Dennis30-Sep-14 6:31 
GeneralRe: Hierarchical Relations between the Forum Messages? Pin
Agent__00730-Sep-14 17:09
professionalAgent__00730-Sep-14 17:09 
GeneralRe: Hierarchical Relations between the Forum Messages? Pin
Matthew Dennis1-Oct-14 5:29
sysadminMatthew Dennis1-Oct-14 5:29 
GeneralRe: Hierarchical Relations between the Forum Messages? Pin
Matthew Dennis1-Oct-14 7:15
sysadminMatthew Dennis1-Oct-14 7:15 
GeneralRe: Hierarchical Relations between the Forum Messages? Pin
Agent__0072-Oct-14 16:49
professionalAgent__0072-Oct-14 16:49 
General"Abstract" Property Name Changed Pin
Matthew Dennis29-Sep-14 5:24
sysadminMatthew Dennis29-Sep-14 5:24 
GeneralSmall concern about a reserved word 'abstract' as a JSON Property Pin
Ranjan.D26-Sep-14 0:57
professionalRanjan.D26-Sep-14 0:57 
GeneralRe: Small concern about a reserved word 'abstract' as a JSON Property Pin
Agent__00726-Sep-14 1:55
professionalAgent__00726-Sep-14 1:55 
GeneralRe: Small concern about a reserved word 'abstract' as a JSON Property Pin
Ranjan.D26-Sep-14 3:36
professionalRanjan.D26-Sep-14 3:36 
GeneralWhere... Pin
PJ Arends22-Sep-14 17:38
professionalPJ Arends22-Sep-14 17:38 
GeneralRe: Where... Pin
Agent__00722-Sep-14 17:42
professionalAgent__00722-Sep-14 17:42 
GeneralRe: Where... Pin
PJ Arends22-Sep-14 17:45
professionalPJ Arends22-Sep-14 17:45 
GeneralWow, glad to see this API! Pin
iamstarbuck22-Sep-14 8:05
iamstarbuck22-Sep-14 8:05 
QuestionPersistent Access Token? Pin
Agent__00721-Sep-14 20:48
professionalAgent__00721-Sep-14 20:48 
AnswerRe: Persistent Access Token? Pin
Chris Maunder22-Sep-14 5:59
cofounderChris Maunder22-Sep-14 5:59 
GeneralRe: Persistent Access Token? Pin
Agent__00722-Sep-14 18:28
professionalAgent__00722-Sep-14 18:28 
AnswerRe: Persistent Access Token? Pin
Matthew Dennis22-Sep-14 6:27
sysadminMatthew Dennis22-Sep-14 6:27 
GeneralRe: Persistent Access Token? Pin
Agent__00722-Sep-14 18:26
professionalAgent__00722-Sep-14 18:26 
OK, just gave a quick try to this using Postman and used a POST to https://api.codeproject.com/Token with my CP username, password and password as grant_type in x-www-form-urlencoded as you (and in the OAuth documentation) suggested, but it's returning a 400 Bad Request - "invalid_client" response. However, same POST to https://api.codeproject.com/ seemed to be working as it returned some "valid" HTML.

I will give it a try again. However, I would like to share an observation -

If I login into the API manually through a browser and capture the access token by running a sample under the My API, not only I can use it for both the APIs, it seems to be lasting quite some long time. As far as I can see, I can still make requests to the API using the access token I captured yesterday (almost 12-14 hours).

Can you please enlighten this behavior? I mean the lifetime of such access tokens? Even if they are lasting for a couple of days, I can make the access token configurable in my application (as it will be only for personal use) and replace it manually bypassing these OAuth steps through the application. Unsure | :~

Please let me know, thanks again for the API. Thumbs Up | :thumbsup:
Whether I think I can, or think I can't, I am always bloody right!

GeneralRe: Persistent Access Token? Pin
Matthew Dennis23-Sep-14 7:35
sysadminMatthew Dennis23-Sep-14 7:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Flags: FixedCompleted

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.