Closed DdZ-Fred closed 5 years ago
@DdZ-Fred Thanks for reporting this - turned out Postman was sending content-type
and Genie was expecting Content-Type
. Since the spec requires header keys and values to be case insensitive, I updated Genie accordingly.
I pushed to master and bumped Genie version - so either update Genie or re-add from master.
ohh ok, well done! this is something I've never noticed about Postman
Yes, it would be nice to be consistent when it comes to the "Temporary Headers" but since the spec says they should be case insensitive, it shouldn't matter (it was the content-length
that was confusing Genie).
I'm closing this issue.
Hello!
@params(:JSON_PAYLOAD)
doesn't seem to find my payload. I did this based on the #102 issue. Did I forget something ? I'm still trying to get used to this awesome project.Here's below the POST route:
Here are the details of my request:
Here is my terminal output:
My Config
Julia Version 1.1.1 Commit 55e36cc308 (2019-05-16 04:10 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Status
~/.julia/environments/v1.1/Project.toml
[c52e3926] Atom v0.8.7 [c43c736e] Genie v0.9.5 #master (https://github.com/genieframework/Genie.jl) [cd3eb016] HTTP v0.8.2 [682c06a0] JSON v0.20.0 [2535ab7d] JSON2 v0.3.1 [e5e0dc1b] Juno v0.7.0 [8d0e9305] Nuklear v0.1.1 [197b51f5] Poptart v0.1.3 #master (https://github.com/wookay/Poptart.jl) [de0858da] Printf