Re: [ansible-project] Issue with Ansible URI module execution for Spectrum API

2023-12-05 Thread premkumar G
I have two APIs related to CA Spectrum. The first API puts network devices in maintenance mode, and the second API is used to find the model MH value based on a device name. *API Details:* 1. Maintenance Mode API: URL: `http://CAserver:portnumber /spectrum/restful/model/0xafa0?attr=0x12

[ansible-project] Issue with Ansible URI module execution for Spectrum API

2023-12-04 Thread premkumar G
Hello Ansible Community, I'm currently facing an issue while trying to execute a Spectrum API call using the Ansible URI module. The API call is working fine in Postman, but when I try to replicate it in Ansible, I encounter problems. Here's a simplified version of my Ansible playbook: ---