Skip to content

Default page output is not JSON #34

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

Closed
samtuke opened this issue Nov 28, 2017 · 2 comments
Closed

Default page output is not JSON #34

samtuke opened this issue Nov 28, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@samtuke
Copy link
Collaborator

samtuke commented Nov 28, 2017

Short problem description

Provided headers indicate that the default message printed to browser is JSON but in fact it is not. Firefox gives error: 'SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data'

Steps to reproduce

  1. Install base-distribution
  2. Navigate to e.g. http://local.server loads headers with 'Content-Type | application/json' but plain text is provided
  3. Devices misunderstand the data
@oliverklee oliverklee added this to the 4.0.0 ("phase 2") milestone Nov 28, 2017
@oliverklee
Copy link
Contributor

This most probably is a configuration issue in the rest-api package (which gets installed by the base-distribution package).

@oliverklee
Copy link
Contributor

This is fixed with phpList/rest-api#58.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants