Skip to main content

All Questions

Tagged with
-1 votes
1 answer
83 views

node js stops working on multiple api request from angular and working after restarting the node app

i am developing an app with node express js and angular js. My angular app makes an api request from node js app server on each route or button click, also a single component or button click may ...
Mohammed Hablullah's user avatar
0 votes
2 answers
757 views

AngularJs $http request stays pending and does not return value from the database

I am currently writing a route which allows me to recieve information from a stored procudre I have in a database. I have written a request in AngularJS and a route in NodeJS but I am just recieving a ...
Ropenfold's user avatar
  • 199
1 vote
2 answers
5k views

why nodejs express server return 302 when i use post?

I am creating a signup and login system. I get a form html page in GET request which works fine but then when I use post to post my data the server return 302 in the chrome inspect and the request ...
Ahmed Nader's user avatar
3 votes
1 answer
202 views

Nodejs + API Rest Structure

I have a legacy system that provides an api with some queries in rest/json (Delphi) in which I will need to consume this data already available. Then build an app using angular + nodejs, and I would ...
Tiago's user avatar
  • 41
0 votes
0 answers
242 views

While getting large amount of data from POST call, it loads in browser but shows failed to load response data in chrome inspect element response body

There is a post api call which is called and it renders data on the UI but when i tried to see it in the inspect element response and preview tabs i get this error "failed to load response data". The ...
Shubham Jain's user avatar
1 vote
0 answers
28 views

$http get to REST service not showing in component template [duplicate]

Using the following code, i am able to do a http get from a json file, however when i try to run a http get against a REST service URL the angular webpage does not display the data on the form. When ...
Ram's user avatar
  • 11
3 votes
1 answer
7k views

how to use facebook login in nodejs

I have been working on a web application which has angular on frontend and nodejs on the backend. frontend uses facebook login button (js-sdk) and fetches user data(using graph API). At the same time, ...
Tirupati Rao's user avatar
0 votes
1 answer
65 views

Cross Origin Request when Access-Control-Allow-Origin missing

I am calling the url from server side language using nodejs. When i use that url on the client side, I am getting the CORS error. If I use POSTMAN then i am getting the reponse. I have searched ...
SRK's user avatar
  • 163
0 votes
1 answer
264 views

Request header field Authorization is not allowed (AngularJS rest api request)

I have application written in AngularJS. I want to get access to FlightAware API. I use the following code: let Client = require('node-rest-client').Client; let username = 'x'; let apiKey = 'y'...
Tomasz's user avatar
  • 21
0 votes
1 answer
25 views

Passing multiple arguments from controller to factory service making REST calls and returning (optional) data

I am trying to create code that uses services (factory) and ngResource to send a request to a RESTful service that performs and action and sends optional results back based on business logic. I am ...
GerM's user avatar
  • 169
0 votes
2 answers
217 views

Redirecting to static page when HTTP method is not found on Node backend

I have a single page app written in AngularJS and NodeJS. On the client side, there are several paths that the user can navigate to: http://jabaridash.com/#!/home http://jabaridash.com/#!/interests/...
user avatar
0 votes
2 answers
133 views

Authenticate all Request to REST API with no username/password to get any token

I am selling products, API fetch product from node back-end and show on angular front-end, Back-end is centralized and angular front-end is on multiple domain, I need to authenticate all request made ...
Mufaddal Kangsawala's user avatar
2 votes
1 answer
2k views

Serve REST-API data in web-page without exposing API-endpoint

I am beginner in MEAN stack. When invoking unauthenticated REST API (no user log-in required), API end-points are exposed in the JS files. Looked through forums that, there is no way to prevent ...
chittasec's user avatar
3 votes
5 answers
10k views

Can't allow Cross-Origin Request in local Nodejs server

I've created a local REST API server in nodejs, which is fetching data from local Mongodb database. I've also created a basic web page, which request this data from the server locally. Now, when I try ...
Kaushal28's user avatar
  • 5,477
0 votes
1 answer
84 views

Efficient way to protect image access by user

I am building a simple API using NodeJs, Angular and Nginx and I wondering which is the most efficient (and proper) way of serve public images to users independently. So at this moment I was storing ...
m33n's user avatar
  • 1,703

15 30 50 per page
1
2 3 4 5
9