Comments (1)
Look's like it is the Laravel wrapper's fault... partially. In non-debug mode, it dumps this message, but that doesn't really explain the error, just that your request setup is wrong.
Honestly, I think just commenting what that try-catch block does might help a lot.
{
"errors": [
{
"status": 400,
"title": "Bad Request",
"detail": "Request could not be served."
}
]
}
from php-json-api.
Related Issues (20)
- [Insight] Unused method, property, variable or parameter - in src/Server/Data/DataObject.php, line 198 HOT 1
- [Insight] Unused method, property, variable or parameter - in src/Server/Query/QueryObject.php, line 91 HOT 1
- [Insight] Unused method, property, variable or parameter - in src/Server/Query/QueryObject.php, line 120 HOT 1
- [Insight] Unused method, property, variable or parameter - in src/Server/Data/DataAssertions.php, line 131 HOT 1
- Undefined index in DataIncludedHelper.php on line 77 HOT 1
- Write test for relationships HOT 1
- Do not remove ID from attributes HOT 2
- Remove $type checks in $mappings as it's the very first thing done since 2.3 HOT 1
- If ID property is an array, flatten array.
- Add support of optional parameters in NilPortugues\Api\JsonApi\Server\Actions\CreateResource HOT 3
- Naming convention of data attributes keys HOT 2
- Add support of "relationships" in resource creation. HOT 1
- Q: doctrine usage HOT 5
- Deeply nested array of objects HOT 2
- hiddenFields exposed in relationships
- MappingFactory::fromArray() always seems to unbox the array HOT 1
- DataAssertions requires an Attributes member
- Authentication and authorizations HOT 1
- Id Field Aliasing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-json-api.