Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change method from GET to POST in API login requests #2810

Merged
merged 3 commits into from
May 4, 2022

Conversation

mcarmona99
Copy link
Contributor

Related issue
#2705

Description

This PR closes #2705.

Apart from the change listed in the related issue, I have added more changes to tests and tools using the login endpoint.

The related API tests will fail until wazuh/wazuh#10203 is merged.

Checks

  • Python codebase satisfies PEP-8 style style guide. pycodestyle --max-line-length=120 --show-source --show-pep8 file.py.
  • Python codebase is documented following the Google Style for Python docstrings.

@mcarmona99 mcarmona99 self-assigned this Apr 20, 2022
@mcarmona99 mcarmona99 force-pushed the feature/2705-login-endpoint-method branch from 5b64c26 to 0ee2a14 Compare April 21, 2022 08:44
@vicferpoy vicferpoy self-requested a review April 25, 2022 06:41
Copy link
Contributor

@vicferpoy vicferpoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@damarisg damarisg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests Results

Test Path Os/Type Jenkins Date By
test_api/ Manager 🟢 🟢 🟢 03/05/2022 Seyla

Build package: https://ci.wazuh.info/job/Packages_builder/95111/

@jmv74211 jmv74211 merged commit e475651 into master May 4, 2022
@jmv74211 jmv74211 deleted the feature/2705-login-endpoint-method branch May 4, 2022 10:33
@jmv74211 jmv74211 self-requested a review September 20, 2022 10:49
@jmv74211 jmv74211 removed their request for review September 20, 2022 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change HTTP method to POST when using the API login endpoint
4 participants