passwall-server
passwall-server copied to clipboard
need to update postman for add content type header
curl request's don't contain content type header , it did not work on my first attempts
current version
curl --location --request POST 'http://localhost:3625/auth/signin' \ ✔
--data-raw '{
"Username":"passwall",
"Password":"password"
}'
working version with curl
curl --location --request POST 'http://localhost:3625/auth/signin' \ ✔
--header 'Content-Type: application/json' \
--data-raw '{
"Username":"passwall",
"Password":"password"
}'
@omerbasoglu-co
I think, it is related to version of curl tool, the given information on Postman API doc works nicely for curl version 7.64.1. However, there is no harm to include --header to curl
command :)
Just wanted to comment.
@mrturkmen06 thanks for comment!