1
I need to send via Curl a user and a password in txt same, it is only for test, for example
Curl -v -H "Accept: application/json" -H "Content-type: application/json" http://127.0.0.1/Students/
I want to pass the user and a password in this query, someone can help
is GET , I need to pass the parameters because a method will consult the bank and see if it is valid.
then what if you pass the parameters directly to the URL:
curl -v -H "Accept: application/json" -H "Content-type: application/json" http://127.0.0.1/students/PARAM1/PARAM2
?– Miguel
then but in the method I have other parameters that I can receive, like, I can receive 4 parameters, but I will pass only 2, how to identify which of these 4 parameters available I am sending via Curl ?
– Juliano
But is that a login? Shouldn’t be going through
post
as is immensely recommended?– Miguel