Merge pull request #751 from wazuh/feature/713-post-api-login
Use `POST` as method of the API login endpoint
This commit is contained in:
commit
e91893c0d2
@ -125,7 +125,7 @@
|
|||||||
- name: Linux | Obtain JWT Token
|
- name: Linux | Obtain JWT Token
|
||||||
uri:
|
uri:
|
||||||
url: '{{ target_manager.api_proto }}://{{ target_manager.address }}:{{ target_manager.api_port }}/security/user/authenticate'
|
url: '{{ target_manager.api_proto }}://{{ target_manager.address }}:{{ target_manager.api_port }}/security/user/authenticate'
|
||||||
method: GET
|
method: POST
|
||||||
url_username: '{{ target_manager.api_user }}'
|
url_username: '{{ target_manager.api_user }}'
|
||||||
url_password: '{{ api_pass }}'
|
url_password: '{{ api_pass }}'
|
||||||
status_code: 200
|
status_code: 200
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user