July 2018
Intermediate to advanced
324 pages
8h 14m
English
As we have seen the authentication execution in the local environment, it will be the same but in the production environment as well. The following is the log snippet of the authentication API execution deployed on AWS Lambda:
$ curl -H "Content-Type: application/json" -X POST -d '{"username":"abdulwahid", "password":"abdul123#"}' https://cfsla2gds0.execute-api.ap-south-1.amazonaws.com/dev/api-token-auth/{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImFiZHVsd2FoaWQiLCJleHAiOjE1Mjk1NzQyOTMsImVtYWlsIjoiYWJkdWx3YWhpZDI0QGdtYWlsLmNvbSJ9.pHuHaJpjlESwdQxXMiqGOuy2_lpVW1X26RiB9NN8rhI"}
As you can see here, the functionality doesn't impact anything as the application is up and running on the serverless ...
Read now
Unlock full access