Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "code": 422,
- "errors": [
- {
- "field": "title",
- "message": "Title must be provided"
- },
- {
- "field": "category_id",
- "message": "The category id field is required."
- },
- {
- "field": "body",
- "message": "Body must be provided"
- }
- ]
- }
- {
- "code": 422,
- "errors": [
- {
- "field": "category_id",
- "message": "The selected category id is invalid."
- }
- ]
- }
- {
- "code": 200,
- "message": "Blog post created",
- "result": {
- "data": {
- "id": 64,
- "title": "ff",
- "category": {
- "id": 1,
- "name": "Category 1"
- },
- "body": "FF",
- "created": {
- "date": "2017-03-29 13:52:44.000000",
- "timezone_type": 3,
- "timezone": "UTC"
- }
- }
- }
- }
- cate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement