404 instead 422 #391
Closed
psprokofiev
started this conversation in
General
Replies: 3 comments 3 replies
-
Could you provide me a Pest test (take a look at |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry, I don't have experience with Pest yet, how can I help you another way? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Huh, all is ok, I added header "accept: application/json" to request... |
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
-
Data class
API Controller method
Request with post method return
404 Not Found
instead422
status.If I remove string with Validation rules and replace
public string $project
withpublic ?string $project
, all is ok.Beta Was this translation helpful? Give feedback.
All reactions