Why when doing a POST request the data is sent to normal, and return null?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
11 views
Make a post request to the server. Send such data here5aeaf5e280dac549812931.png, but for some reason the response is getting such (look at title and description, the remaining data must still be displayed) 5aeaf60211ec6177229093.png
Although do the same thing with swagger
send 5aeaf620a880f279103673.png
get5aeaf62a86a48984276887.png
title and description are displayed normally
by | 11 views

1 Answer

0 like 0 dislike
As it turned out in the comments it was a wrong Content-Type of the request.
by

Related questions

0 like 0 dislike
1 answer
asked Jun 7, 2019 by nano_e_t_4
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked May 22, 2019 by Linkouth
110,608 questions
257,186 answers
0 comments
35,649 users