Jump to content

Brogrammer

Members
  • Posts

    7
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Brogrammer reacted to tsdevelopment in (itzrest) Rest API with authentication   
    You can login with usernamen and password like that:
    Login as user
    To login as a user you must send a POST Request to the /auth/login endpoint with your username and password:
    curl \ -d username=max\ -d password=secret\ -X POST <baseurl>/restapi/auth/login For further requests you use the token as header.
  2. Like
    Brogrammer reacted to tsdevelopment in (itzrest) Rest API with authentication   
    Yes, it is possible. I will do it during the next few days.
  3. Like
    Brogrammer reacted to DrumScorps in (itzrest) Rest API with authentication   
    Would it be possible to add a few more user data items to the login endpoint response?
    user email user profile url username/display name (i'm not sure whats returned in your "name" field, but in my case i need both username and displayname)
  4. Like
    Brogrammer reacted to tsdevelopment in (itzrest) Rest API with authentication   
    I uploaded a new version a few moments ago. The member structure now includes the following fields:
    name - The display name nameSeo - The seo name profileUrl - The url to the member profile of the user email - The member email address. Be careful with this value. Maybe I will implement a little bit more security so that a this value will only be set if a mamber is admin or the member equals the current one. Hope that will help you!
  5. Thanks
    Brogrammer reacted to tsdevelopment in (itzrest) Rest API with authentication   
    This is the support/feature request thread for (itzrest) Rest API with authentication. Feel free to discuss or request new endpoints / tell me about errors or security issues.
     
     
×
×
  • Create New...