Its just brilliant! Very informative, short and fast explanation of the basics of full cycle REST App dev. Thank you!
@Delphiwizard3 жыл бұрын
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
@Munko31965 жыл бұрын
This was just what I was hoping to find. Thanks for making it.
@NielsMaschmeyer4 жыл бұрын
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.
@marinovic884 жыл бұрын
Did you found the answer?
@NielsMaschmeyer4 жыл бұрын
@@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.
@akvut995 жыл бұрын
Can I get sample code ?
@akvut995 жыл бұрын
Yes
@papricasoft6 жыл бұрын
are there any tutorial using REST Server/Client without RAD Server? because I have Delphi Tokyo Prof only...
@RicardoBaylissimo5 жыл бұрын
I would also like to know what options there are without RAD Server, did you find any?
@nolaspeaker56564 жыл бұрын
@@RicardoBaylissimo Datasnap!
@NielsMaschmeyer4 жыл бұрын
Or mORMot for the hardcore ones: synopse.info/fossil/wiki?name=SQLite3+Framework
@elazucarero4 жыл бұрын
Please add the source code
@ruankristopperpueblos91002 жыл бұрын
source code please.
@muniralmeslaty96023 жыл бұрын
Thank you very much It is very useful
@mirvids50365 жыл бұрын
I lost interest as soon as you started saying "haytch" for the letter H. I want to understand REST but will look elsewhere.