I need to upload file with array data.When tried to hit API call,getting as value cant be null[parameter 'input']
I have given all the require parameters but still not resolved.Error screen is attached...
Thanks in advance.
Related
My code is attempting to retrieve images and display them. I have code that uses the Dropbox API code, it calls searchFileNames("/My Photos", ".jpg", 50, false), so it returns at least 50 results. I need to get the width & height, so for each of the returned items, I then need to call getMetadata() to retrieve that information, so far so good. Now I need a link to the image file that I can use to initially display a thumbnail. I get 50 results back so I need to do something 50 times, such as createShareableLink() or createTemporaryDirectLink() - my issue is that this takes TOO LONG. My tests for 50 items run somewhere close to a FULL minute - TOO SLOW. I could look at getFile() but that's about the same minute range. Maybe another API call where I get the link back in one call that is FASTER? Looking for a faster way to get a direct link to an image in a Dropbox Folder? Any help is appreciated - Thanks
These are the steps that I take to get a link to an image:
https://content.dropboxapi.com/2/files/upload
response
get and store the path_display response from the json
https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings
request
set the path param to path_display from upload call
set settings to { requested_visibility:"public"}
response
You get back url parameter, this is the share link. If you give this to someone they will end up on the dropbox page
If you append to url &raw=1 (maybe ?raw=1) then with that link users will end up directly on the image, rather then on a dropbox page. This is useful for embeding into <img> src attribute.
Import.io is working pretty fine, but there is one website I would like to extract datas, but when I start the extractor, then enter the URL http://restaurant.michelin.fr/restaurants/france/75000-paris/restaurants-michelin/page-4/ which is loaded. Then I press the ON button, but the page won't load, nothing is displayed.... blank page and looks like it's still loading... In that case, how can I do ? I've also tried with the crawler, but same result. I restarted the program and computer but always the same issue. Thanks a lot.
The import.io desktop app browser uses firefox24. Few websites aren't compatible with the browser and this appears to be what is happening in this case.
It does however work in Magic! https://magic.import.io/
Once you have published the Magic API, you can then use the tools in MyData such as Bulk and Chain to add more URLs.
I have just tried to save a Magic API and it worked a treat. The only disadvantage here is that you won't be able to edit the columns until after you have extracted the data.
I have created a multi page form using the formbuilder module for CMS Made Simple.
The form is submitting all other fields correctly however the upload file inputs are not uploading to the uploads directory.
I have created other forms that work perfectly using the exact same settings so it seems there is a bug in formbuilder itself for multi page forms however I am unable to figure out what it is to be able to fix it.
Does anyone have any suggestions as to why the files are not being uploaded.
Once this is fixed it will also be attached to the email that is sent as the form is submitted but this is an easy fix (just un ticking the box).
Thanks in advance.
The issue is a bug in the formbuilder module itself. A request was made on the CMSMS forge but no replies have been received.
Unfortunately there is no fix so depending on the version of formbuilder you are using you will not be able to upload files if you have a multi page form.
I am working on an application which will have an option for users to upload images. Once uploaded, the application will show other images from the web which look exactly similar, whether or not of the same size.
For this, I will create a temporary URL for the image so that I could provide Google custom search API the URL of the image. I would expect in response, URL's of images that are exactly the same or similar to it, perhaps in JSON format.
I did find a similar question posted in January. Till then Google did not support anything like this, apparently:
Google Javascript Custom Search API: Search images by image url
One can also simply do:
http://images.google.com/searchbyimage?site=search&image_url={Image URL}
Since that is not part of an official API, it may not be right to use this method.
Can someone help me?
Well, the answer quite simply is TinEye Commercial API https://api.tineye.com/welcome. I was looking in the wrong place I guess, I did not have any luck with Google Custom Search API.
Would you need a simple result?
If you are, you can use Vision API of Google.
This is very simple.
https://cloud.google.com/vision/
You can try on the top.
First, access the URL.
Second, upload your image file on the "Try API"
Third, click "JSON" tab menu on the result.
You can be seen JSON about similar images.
We happened to get requirement to upload the multiple files ( like the gmail attachments ) using struts 1.3.5 and Ajax.
I happened to go thorough lot of resources but no luck.
Can someone shed light on this possibly by suggesting or pointing to some useful resources.
I was also looking for a multiple file upload solution for my struts2 application. Since ajax form submit do not support image submission the only option to use was a hidden iframe strategy. However, i found this wonderful plugin which uploads multiple files withour reloading the page and also shows a cool progress bar. The best thing about this plugin is that it doesn't uses flash and works on IE too. I strongly recommend using this plugin
Donot use taglibrary defined file upload for uploading. You can still use
common- fileupload to handle file upload. By doing this you can dynamically
add one more input type file element below the current input type upload using
javascript. I doubt if there is any way to do this using pure struts 1.3.5 :) .