Record: nailing enterprise internal application dd.httpRequest report errors error:12
Error: the emulator on the PC can be accessed normally, but after it is released online, it will be prompted that error:12 Network error
the company requires the development of nailing add in program, I choose the enterprise internal program, the background is Java, the front end is e application
because I have intranet penetration, so I use it locally!
Both the background and the front end download the demo directly from the official website,
in the index.js The path of a URL in is domain + ‘/ Login’
let domain = " http://sellzys.natapp4.cc";
let url = domain + '/login';
But in dd.httpRequest In the call of
dd.httpRequest({
url: url,
method: 'POST',
data:{
authCode:res.authCode
},
Cannot write URL
need to write directly
dd.httpRequest({
url: 'http://sellzys.natapp4.cc/login',
method: 'POST',
data:{
authCode:res.authCode
},
I don’t know the specific reason. I just changed the URL to a path and passed it
Read More:
- dd make start up usb
- Using jsoup to parse web pages and report null errors
- Using JSON to report errors
- Ubuntu (16.04) creates a Windows boot U disk, using woeusb instead of DD
- Using Lombok to compile and report errors
- Node.js Using port 80 to report errors in Linux
- New Maven project– pom.xml report errors
- solve java.net.ConnectException : Connection refused:connect report errors
- CentOS uses Yum install to report errors
- Using jgit to report errors: the solution of algorithm negotiation failure
- Elememt UI introduces components on demand to report errors
- Solution of idea using @ Autowired annotation to report errors
- File.createNewFile report errors java.io.IOException , resolved
- Clion configuration MingGW report error test cmake run with errors solution
- When I first learned mybatis org.apache.ibatis . binding.BindingException report errors
- Running Django manager.py report errors Error:111 connecting to 127.0.0.1:6379.connection refused
- The solution of using Autowired annotation to report errors in IntelliJ idea
- The template tags of all vscode Vue files report errors in red~
- Linux environment setup – Update https://apt.repos.intel.com report errors
- When generating a test report in HTML format, report [typeerror: a bytes like object is required, not ‘STR’]