Comments (4)
You mean to get the data into JSON? Or to change the structure of existing JSON? Or something else?
Could you be more specific?
from norch.
No, I have a JSON data need to format when use your /add api, like a Middleware:
norch().then({here's format data Middleware}).call('add',function(){})
I build a simple app use request, but I got proxy error:
request.post({
url: "http://localhost:3030/add",
method: "POST",
// json: true,
body: JSON.stringify(data),
headers:{
'Content-Type': 'application/json'
}
},function (error, response, body) {
console.log('error:', error); // Print the error if one occurred
console.log('statusCode:', response && response.statusCode); // Print the response status code if a response was received
console.log('body:', body); // Print the HTML for the Google homepage.
});
My app runs at localhost:3000, and norch runs at localhost:3030, got proxy error. But, when I use another host not localhost, like 127.0.0.2 to run norch, and my app runs at 127.0.0.1, my app works.
from norch.
Hmmm- that sounds like you are experiencing network problems, but Norch is working?
from norch.
Norch is working!
from norch.
Related Issues (20)
- Support for availableFields HOT 3
- Categorize: Sorting a category on amount of document hits? HOT 2
- Available fields a bit to "streamy"? HOT 11
- Make simple query model for /search and /matcher endpoints? HOT 1
- Missing documentation on options? HOT 3
- Document /import endpoint functionality a bit better
- custom document processing pipe without touching norch? HOT 6
- Strange errors on AND search HOT 12
- Implementing for Electron JS and Nedb (local storage) HOT 1
- check if /snapshot or /latestSnapshot is the issue HOT 5
- Proposal: index arrays instead of newline delimited "streams" HOT 4
- Library Support HOT 3
- Switch from web-server to DAT-server? HOT 7
- update to use latest search-index HOT 3
- Documentation generator
- human readable dates instead of millisecond timestamps
- Customise openAPI look and feel
- Find a way to bump swagger.json to markdown
- create tests for all endpoints
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 norch.