> Is there any other way to see the request sent?
Only 2 ways I can think of: connect to a web server you control, or use a packet analyzer such as wireshark,
Fyi, I ran this:
%let username=MyName;
%let pwd=MyPassword;
filename input TEMP;
filename resp TEMP;
filename headers TEMP;
data _null_;
file input recfm=f lrecl=1;
put "username=&username.%nrstr(&password)=&pwd";
run;
proc http
method="POST"
url="https://google.com"
in=input
headerout=headers
out=resp;
debug level=2;
run;
and got this:
100 method="POST"
101 url="https://google.com"
102 in=input
103 headerout=headers
104 out=resp;
105 debug level=2;
106 run;
> POST / HTTP/1.1
> User-Agent: SAS/9
> Host: google.com
> Accept: */*
> Connection: Keep-Alive
> Content-Length: 35
> Content-Type: application/x-www-form-urlencoded
>
> 00007F93DA73E260: 75 73 65 72 6E 61 6D 65 3D 4D 79 4E 61 6D 65 26 username=MyName&
> 00007F93DA73E270: 70 61 73 73 77 6F 72 64 3D 4D 79 50 61 73 73 77 password=MyPassw
> 00007F93DA73E280: 6F 72 64 ord
< HTTP/1.1 405 Method Not Allowed
< Allow: GET, HEAD
< Date: Fri, 03 Apr 2020 22:01:40 GMT
< Content-Type: text/html; charset=UTF-8
< Server: gws
< Content-Length: 1589
< X-XSS-Protection: 0
< X-Frame-Options: SAMEORIGIN
< Alt-Svc: quic=":443"; ma=2592000; v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443";
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,h3-T050=":443"; ma=2592000
<
... View more