Token Based Authentication in REST API - Interact with webservice - Ansible module uri
Nov 3, 2022
How to retrieve a JSON token via a POST authentication request using a JSON body formed by email and password to a REST API web service HTTPS endpoint from a remote Linux host in a few lines of Ansible code.
https://www.ansiblepilot.com/articles/token-based-authentication-in-rest-api-interact-with-webservice-ansible-module-uri/
Timestamps
00:00 Introduction
00:28 ansible.builtin.uri Ansible module
01:29 parameters of ansible.builtin.uri
04:08 website https://reqres.in
04:58 uri module demo playbook correct login
08:52 uri module execution and verification
09:48 uri module demo playbook incorrect login
10:19 uri module execution and verification
11:16 Recap
FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress - http://eepurl.com/hJv3j9
BUY the Complete PDF BOOK to easily Copy and Paste the 200+ Ansible code
200+ Automation Examples For Linux and Windows System Administrator and DevOps
https://leanpub.com/ansiblebyexamples
Show More Show Less #Web Design & Development
#Development Tools
#Search Engine Optimization & Marketing
