On Aug 20, 2014, at 2:45 PM, nnodejs <[email protected]> wrote:
> Hi guys!
>
> I have a problem using Ajax (side client) when I'm trying to request from
> other domain, I know that this is caused by cross domain, but I can't find
> any solution to fix it!
> My app have to parse a HTML webpage to use some relevant information of it.
> So I use Ajax to get it.
> here is my code on the server, I'm using express.js:
[snip]
>
> res.header("Access-Control-Allow-Origin", "*");
[snip], client:
> xhrFields: {
> withCredentials: true
> },
The combination of these two isn't allowed: give a specific origin. * isn't
allowed in combination with withCredentials.
Aria
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/F28DEC64-73BF-4AE0-9632-9CBBFB868D92%40nbtsc.org.
For more options, visit https://groups.google.com/d/optout.