Replies: 1 comment
-
Hello Vladyslav, I’m unable to reproduce the described problem. I’ve made a pull request containing code I wrote while trying to reproduce the problem. You can find the pull request here. Could you provide us some additional context? What Laravel version are you running? Are there any packages that interfere with Laravels resources? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there.
I have JsonResource:
And it works fine, in response im getting Content-Type:application/json, great.
But if i will try to add translation, for example:
And at this moment Content-Type contain text/html; charset=UTF-8
What is the problem, i cant use translation in JsonResource for correct Content-Type ?
Beta Was this translation helpful? Give feedback.
All reactions