Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Conversation

@mattjackson220
Copy link
Contributor

Closes: #6370

This PR fixes the response code on a PUT to /acme_accounts to use a 200 instead of 201 and updates the docs for a POST to the same endpoint to reflect the 201 returned


Which Traffic Control components are affected by this PR?

  • Documentation
  • Traffic Ops

What is the best way to verify this PR?

Verify that the docs build and look good
Verify that the response codes are correct and reflected in the documentation

If this is a bugfix, which Traffic Control versions contained the bug?

PR submission checklist

@mattjackson220 mattjackson220 added bug something isn't working as intended Traffic Ops related to Traffic Ops documentation related to documentation labels Mar 2, 2022
Copy link
Collaborator

@tcfdev tcfdev left a comment

Choose a reason for hiding this comment

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

Looks good. POST returns 201 Created where PUT returns 200 Ok. Docs reflect the desire.

@ocket8888
Copy link
Contributor

Needs conflict resolution before it can be merged

@ocket8888
Copy link
Contributor

More conflicts cropped up

@ocket8888 ocket8888 merged commit 2e5c108 into apache:master Mar 3, 2022
@github-actions github-actions bot mentioned this pull request Apr 1, 2022
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug something isn't working as intended documentation related to documentation Traffic Ops related to Traffic Ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs show incorrect response code for POST to /acme_accounts

3 participants