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:
David Jose Iglesias Lopez 2022-10-05 07:50:54 +02:00 committed by GitHub
commit e91893c0d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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