We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Regarding the endpoint /v1/diff/{distribution}[1] there is a difference of output between the API explorer and the live API.
/v1/diff/{distribution}
The explorer returns a plain text diff, whereas the live API returns JSON data.
Here I have used HTTP-Message as an example.
HTTP-Message
[1]
metacpan-api/lib/MetaCPAN/Server/Controller/Diff.pm
Line 31 in d87b275
The text was updated successfully, but these errors were encountered:
I'm guessing we'd need to be looking here:
Line 80 in d87b275
Sorry, something went wrong.
The explorer looks to be sending
Accept: text/plain, */*; q=0.01
Also, every method in MetaCPAN::Server::Controller::Diff is calling _do_diff by passing it a true value for $include_raw as the final argument.
MetaCPAN::Server::Controller::Diff
_do_diff
$include_raw
No branches or pull requests
Regarding the endpoint
/v1/diff/{distribution}
[1] there is a difference of output between the API explorer and the live API.The explorer returns a plain text diff, whereas the live API returns JSON data.
Here I have used
HTTP-Message
as an example.[1]
metacpan-api/lib/MetaCPAN/Server/Controller/Diff.pm
Line 31 in d87b275
The text was updated successfully, but these errors were encountered: