bash - How to pass Blackboard login data to cURL using --data? -


i trying curl page on blackboard (a popular course management system colleges). page requires login blackboard account, , have read can using --data argument. don't know, format need use pass username , password curl command.

in case can use firefox browser can let create browser curl command.

you need active developer tools (on win f12) , after login can go post line press right mouse button , select save curl or similar wording.

as described here https://developer.mozilla.org/en-us/docs/tools/network_monitor#copy_as_curl

well okay answer is.

curl -v --data 'username=abc124&password=password'

maybe can take brand new book

"everything curl" https://www.gitbook.com/book/bagder/everything-curl/details

at http post chapter or can take http-scripting @ homepage of curl https://curl.haxx.se/docs/httpscripting.html#post


Comments