1
HFS ~ HTTP File Server / Re: Mimetype application/x-www-form-urlencoded Not Support
« on: October 28, 2019, 08:47:39 AM »
Hi There,
Thanks for the response, here’s a bit of explanation:-
I’m currently using postman for my testing to mimic the behaviour of source system.
Following is my setup:-
Aws EC2 with windows server 2012 r2
Windows firewall inbound ports 80/443
Hfs server configured on port 80
Stunnel is installed and configured to support ssl/https
There no issue with connection on http/https as I get the login page for hfs in browser:-
While testing this whole setup from my local machine via POSTMAN:-
I can perform successful https post on 443 with basic Authentication and body set to multipart form data.
Attached file gets delivered to destination and gets stored in the mapped folder mo challenges.
But when Im changing the body to raw and pasting the file content as part of the request, I still get 200ok and request is also acknowledged with success but the raw data isn’t separated from the request and stored separately.
Which is my actual requirement. Do you think this is possible via hfs or anyone has achieved it?
Thanks in anticipation.
Thanks for the response, here’s a bit of explanation:-
I’m currently using postman for my testing to mimic the behaviour of source system.
Following is my setup:-
Aws EC2 with windows server 2012 r2
Windows firewall inbound ports 80/443
Hfs server configured on port 80
Stunnel is installed and configured to support ssl/https
There no issue with connection on http/https as I get the login page for hfs in browser:-
While testing this whole setup from my local machine via POSTMAN:-
I can perform successful https post on 443 with basic Authentication and body set to multipart form data.
Attached file gets delivered to destination and gets stored in the mapped folder mo challenges.
But when Im changing the body to raw and pasting the file content as part of the request, I still get 200ok and request is also acknowledged with success but the raw data isn’t separated from the request and stored separately.
Which is my actual requirement. Do you think this is possible via hfs or anyone has achieved it?
Thanks in anticipation.