Comments (3)
from automa.
alert('处理下载完成,开始处理下载结果')
var origin_file_name = automaRefData('variables','originFileName');
alert('origin_file_name: '+ origin_file_name);
var extension_id = location.host;
alert('extension_id: '+ extension_id);
automaFetch('json', {
url: 'http://127.0.0.1:5100/handle_data',
method: 'POST',
headers: {
'Content-Type': 'application/json; charset=UTF-8'
},
body: JSON.stringify({'origin_file_name':origin_file_name,'extension_id':extension_id})
})
.then(function(data){
alert(data.msg)
console.log(data.msg)
automaNextBlock({'status':data.status})
})
.catch(function(error){
alert(JSON.stringify(data.msg))
console.log(error);
automaNextBlock({'status':0})
});
from automa.
After repeated testing, it was found that as long as the JavaScript script is placed in the backend for execution and then executed as automaFetch, an error will be reported. Please help solve this problem as soon as possible!
from automa.
Related Issues (20)
- [High Priority] Replacing table from JavaScript block mutilates the stored table data
- TENGR.AI does not work
- Click event is not working on Google search results HOT 1
- Action : 'Execute shell command' Not found
- Critical Issue Of Timeout
- Help! Automa cannot enter the value into the text box.
- Dashboard Window in Automa Shrinks and Becomes Inaccessible After Closing HOT 2
- What is "Delay" in the Interval Trigger Block? HOT 1
- Infinite loop with automaFetch
- can you add a click function that will click based on a pacific position on the screens not any window or tab. It will help user to use some extention.
- How variables can be used in javascript? HOT 1
- Is it true that Automa will be sold, sir?
- Unable to start a hosted workflow via ID
- Imported Workflows have a new ID
- Trigger Issue
- Polish language support
- Clicking buttons with dynamic elements
- Add portuguese language support
- Chorme Recording Error HOT 3
- 保存资源 (Save Assets Block)组件重命名文件不起作用 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automa.