I am try to complete input fields and do a post with a file upload. Listed below are the input fields and what I know about the server trying to connect to. I I have tried net.webclient, invoke-webrequest, invoke-restmethod and have not been able to get the right combination of completing the input fields and uploading the file. Any help is appreciated.
Server info
Server Apache is not blacklisted
Server: Apache
WWW-Authenticate: Negotiate
WWW-Authenticate: Basic realm="kerberos or cross cell required"
Content-Length: 469
Content-Type: text/html; charset=iso-8859-1
Input fileds (upload files is the only one required)
innerrHTML :
innerText :
outerHTML : <INPUT type=hidden value=✓ name=utf8>
outerText :
tagName : INPUT
type : hidden
value : ✓
name : utf8
innerHTML :
innerText :
outerHTML : <INPUT type=hidden value=yjn68wBKX1YKC0= name=authenticity_token>
outerText :
tagName : INPUT
type : hidden
value : QrLAehjteAujZSTxSUDx9nfLN/0tWyjn68wBKX1YKC0=
name : authenticity_token
innerHTML :
innerText :
outerHTML : <INPUT id=upload_file_groups title="Optional comma separated list groups." style="HEIGHT: 30px" size=60 name=upload_file[groups] placeholder="">
outerText :
tagName : INPUT
id : upload_file_groups
title : Optional comma separated list of groups.
style : HEIGHT: 30px
size : 60
name : upload_file[groups]
placeholder :
innerHTML :
innerText :
outerHTML : <INPUT id=upload_file_users title="Optional comma separated list of usernames." style="HEIGHT: 30px" size=60 name=upload_file[users] placeholder="">
outerText :
tagName : INPUT
id : upload_file_users
title : Optional comma separated list of high-side usernames.
style : HEIGHT: 30px
size : 60
name : upload_file[users]
placeholder :
innerHTML :
innerText :
outerHTML : <INPUT id=upload_file type=file name=upload_file[files][] multiple="multiple">
outerText :
tagName : INPUT
id : upload_file
type : file
name : upload_file[files][]
multiple : multiple