RAD Server for REST Delphi

Поделиться
HTML-код
  • Опубликовано: 30 янв 2025
  • НаукаНаука

Комментарии • 17

  • @yuriyolkin
    @yuriyolkin 5 лет назад +4

    Its just brilliant! Very informative, short and fast explanation of the basics of full cycle REST App dev. Thank you!

  • @Munko3196
    @Munko3196 5 лет назад +2

    This was just what I was hoping to find. Thanks for making it.

  • @Delphiwizard
    @Delphiwizard 3 года назад +1

    At 22:05 , there is no need to do a extra query call to get the generated id, you can execute the insert statement with the returning keyword at the end which will return you the id in the result set

  • @muniralmeslaty9602
    @muniralmeslaty9602 3 года назад

    Thank you very much
    It is very useful

  • @NielsMaschmeyer
    @NielsMaschmeyer 4 года назад

    Thanks exactly what helped me out to understand it!
    There is just one more thing I would like to know. I am setting up a Vue.js application to communicate with my RAD Server. After the login I would like to access different ressources restricted by the login credentials. This shall not work with the internal RAD Server user in the Interbase database but with different customised rights. How can I work with a "Bearer token" in the "Authorization" header when calling the RAD Server? When I try it gives me an error message with: "Unsupported authorization scheme.

    • @marinovic88
      @marinovic88 4 года назад +1

      Did you found the answer?

    • @NielsMaschmeyer
      @NielsMaschmeyer 4 года назад

      @@marinovic88 It works so far that I separated the login logic. In the first login procedure, which is public, I pass in the customised user credentials. I check those in a postgres database. If they are correct I make an official login request from the web server into the EMS Server database/user. Here I receive the authorization string I can use to access the "restricted" resources/endpoints. But in all the future requests I just pass on additional authorization code to it, to identify the customised user and his access right. So I have one to authorize the access to the resource/endpoing and one for further more complex access rights handling in my application.

  • @papricasoft
    @papricasoft 6 лет назад +1

    are there any tutorial using REST Server/Client without RAD Server? because I have Delphi Tokyo Prof only...

    • @RicardoBaylissimo
      @RicardoBaylissimo 5 лет назад

      I would also like to know what options there are without RAD Server, did you find any?

    • @nolaspeaker5656
      @nolaspeaker5656 4 года назад

      @@RicardoBaylissimo Datasnap!

    • @NielsMaschmeyer
      @NielsMaschmeyer 4 года назад

      Or mORMot for the hardcore ones: synopse.info/fossil/wiki?name=SQLite3+Framework

  • @akvut99
    @akvut99 5 лет назад +2

    Can I get sample code ?

  • @elazucarero
    @elazucarero 4 года назад +1

    Please add the source code

  • @ruankristopperpueblos9100
    @ruankristopperpueblos9100 2 года назад

    source code please.

  • @mirvids5036
    @mirvids5036 5 лет назад +1

    I lost interest as soon as you started saying "haytch" for the letter H.
    I want to understand REST but will look elsewhere.