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

HTTP code does not match error/code one #324

Open
Benjamin-Loison opened this issue Oct 28, 2024 · 0 comments
Open

HTTP code does not match error/code one #324

Benjamin-Loison opened this issue Oct 28, 2024 · 0 comments
Labels
enhancement New feature or request low priority Nice to have feature. quick A task that should take less than two hours to complete.

Comments

@Benjamin-Loison
Copy link
Owner

curl 'http://localhost/YouTube-operational-API/search' -D -
Output:
HTTP/1.1 200 OK
Date: Mon, 28 Oct 2024 14:46:53 GMT
Server: Apache/2.4.58 (Ubuntu)
Access-Control-Allow-Origin: *
Content-Length: 99
Content-Type: application/json; charset=UTF-8

{
    "error": {
        "code": 400,
        "message": "Required parameters not provided"
    }
}

Can it be seen as a feature? What if it's not a constant part that is the issue but a varying one such as a video id?

@Benjamin-Loison Benjamin-Loison added enhancement New feature or request low priority Nice to have feature. quick A task that should take less than two hours to complete. labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority Nice to have feature. quick A task that should take less than two hours to complete.
Projects
None yet
Development

No branches or pull requests

1 participant