POST to endpoint return 400 #1687
Unanswered
balakhorvathnorbert
asked this question in
Q&A
Replies: 1 comment
-
I believe this was answered in Discord. The Content-Type or Accept header wasn't set to json? |
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
-
Hi, I am new to Lucky and I am building an API-only backend. I have generated the app with Authentication. I am not quite sure what I am missing here. Thanks in advance.
Crystal version:
Crystal 1.4.0 (2022-04-06)
LLVM: 13.0.1
Default target: aarch64-apple-darwin21.4.0
Lucky version:
0.30.0
When posting JSON in body using nested params to endpoint, it return 400:
Beta Was this translation helpful? Give feedback.
All reactions