[web2py] post file to a server

2019-10-14 Thread Val K
Or you can just set 'allow-origin' to server_1 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to

[web2py] post file to a server

2019-10-14 Thread Val K
You don't need 'requests' on server_2, you can set 'allow-origin' to * + basic auth (I didn't test this variant, but I suppose it should work ), or you can perform GET some dummy request to server_2 to get origin and establish ssl (as option) and then post to login and then post file --

[web2py] post file to a server

2019-10-14 Thread Auden RovelleQuartz
Please let me know how to do this SERVER_ONE: this is the application server SERVER_TWO: this is the file storage server The objective is to >>> have the user select a file via a form (this is via a Web2py app running on SERVER_ONE) >>> when user clicks the submit button, the file is posted to