jsFiddle my services
Is there (yet?) a way to call my services via jsFiddle by any chance?
Somehow authenticate on the client side, or anon call the blog service for example?
Hi Steve,
Personally, I haven't used this tool yet.
Try creating a POST request to ~/Sitefinity/Services/Security/Users.svc/Authenticate with POST data in JSON that looks like this:
"MembershipProvider"
:
""
,
"UserName"
:
"admin"
,
"Password"
:
"admin"
,
"Persistent"
:
"true"
// Result Values:
// 0 = Success, (User was successfully registered as logged in)
// 1 = UserLimitReached, (The limit of maximum simultaneous logged in users is reached)
// 2 = UserNotFound, (User not found in any provider)
// 3 = UserLoggedFromDifferentIp, (User is already logged in from different IP address)
// 4 = SessionExpired, (Indicates that the user logical session has expired)
// 5 = UserLoggedOff, (User have the authentication cookie but does not have logged in the database or user is already logged out.)
// 6 = UserLoggedFromDifferentComputer, (More than one users trying to login from the same IP but from different computers.)
// 7 = Unknown, (Invalid username or password specified.)
// 8 = NeedAdminRights, (User is not administrator to logout other users)
// 9 = UserAlreadyLoggedIn, (User is already logged in from different application or browser)
// 10 = UserRevoked, (User was revoked. The reason is that the user was deleted or user rights and role membership was changed.)
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>