Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5028

JSON JWT Tokens not working

$
0
0

Hi, I have been working with version 1.9 for a short while and have had no problem with tokens. I use the Google REST console to test the API and first I get a token using http://xxx/api/v2/user/session and putting username and password in the body and of the app name in the header..as described like this and POST

{
"email": "test2@zegaphone.com",
"password": "user123",
"duration": 3600
}
and setting in the header

X-DreamFactory-Application-Name to be my app name

But when I do exactly the same thing in V2 I get a reply that appears to be a page written by Yahoo!

Here are the first few lines of it..







Viewing all articles
Browse latest Browse all 5028

Trending Articles