[web2py] Re: Using REST API for uploading file

2019-03-04 Thread Dave S
On Monday, March 4, 2019 at 2:11:28 PM UTC-8, Sarbjit wrote: > > In my actual app, I have multiple fields which needs to be populated along > with file upload. I have never used CURL before, so I don't know how to > handle this case. I can try with --data-binary but I am not sure if other > fi

[web2py] Re: Using REST API for uploading file

2019-03-04 Thread Sarbjit
In my actual app, I have multiple fields which needs to be populated along with file upload. I have never used CURL before, so I don't know how to handle this case. I can try with --data-binary but I am not sure if other fields will work. On Monday, March 4, 2019 at 5:01:07 PM UTC-5, Dave S wro

[web2py] Re: Using REST API for uploading file

2019-03-04 Thread Dave S
On Monday, March 4, 2019 at 11:22:19 AM UTC-8, Sarbjit wrote: > > Hello, > > I am trying to use CURL to upload a file in the 'upload' field using REST > services. But on using the command, some garbage is getting uploaded, even > though it shows as type "file" but I could not download the file