18 questions
1
vote
0
answers
452
views
A workaround for third party cookies on Safari browsers
I'm trying to get JSON data from an API I created on domainA.com to show at domainB.com - I'm using third party cookies and it's working fine on Chrome but not on Safari due to strict restrictions. I'...
0
votes
1
answer
75
views
How to make Cross Domain Request to an API from Javascript Client when I don't have access to modify the other domain API?
I have a scenario where I need to fetch JSON response data from an API in a different domain. Lets say the requesting domain is ClientDomain and the API domain in APIDomain.
Now I know that this can ...
1
vote
1
answer
761
views
How to call Bamboo HR API call from SharePoint Online
I would like to get data from Bamboo HR and display it in SharePoint Online. Bamboo HR supports API with basic authentication to call and get data from Bamboo HR. When I tried to get data in browser, ...
2
votes
1
answer
5k
views
POST an image in JSON using Node.js
I need to post a file in Node.js using Request module in a JSON in such a pattern:
{
id: <string>,
title:<string>,
file: file
}
The id and ...
5
votes
0
answers
3k
views
"GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)"
I am trying to run a lambda function using request library. I tried to look at some other same issues, but couldnt find exactly the one i needed. Following is my code:
var req = require('request');
...
2
votes
1
answer
7k
views
Cheerio -Web Scraping - Not able to scrape innertext of a div
I am using Cheerio and request for web scraping.
Below is my code on running which it doesn't give any error but also it doesn't gives me the innerText of div with that class name.
I am a beginner in ...
1
vote
1
answer
641
views
How to test CORS with Mule
I am using Anypoint Studio 6.1 and Mule 3.8.1 and have a mule RESTful application that I want to stop CORS requests from being accepted by the application.
The application has been setup to do this ...
0
votes
2
answers
368
views
oAuth code exchange for secret token
I'm making an app that is supposed to use oAuth to authenticate players from the Blizzard servers, I want to access their character info.. and I can't figure out how to ask for the secret_token. I ...
0
votes
1
answer
488
views
Passing data between windows across domain in AngularJS
I am very new to AngularJS and working on an application where I have to open a new window (from another domain) and pass some data to the new window across domain. Can somebody provide me some ...
1
vote
1
answer
502
views
Yii2 AccessControl for action to be accessed by certain website
I have a backend project on my ssl server, like ssl.mybackend.com, with following:
class FormController extends Controller
{
public function behaviors()
{
return [
'access'...
1
vote
1
answer
89
views
Single Cross Domain AJAX Request needed
Trying to implement sending sms features in my ecommerce store.
I use service called esteria.lv and they provided me with API link that looks like this: http://api1.esteria.lv/send?api-key=api_key&...
1
vote
0
answers
241
views
Chrome mobile browser cross domain request Issue
I am using pure JavaScript to make cross domain post request. Its working for all the desktop browser including Chrome. However request is getting failed with statusCode: 0 in the chrome mobile ...
0
votes
1
answer
340
views
Post image base64 from iOS to twitter using request.js
I am working on iOS. In my app user can take photo and upload from Library then it will store as image base64 in database. I want to post this image into Twitter when I select from database. But I ...
0
votes
0
answers
243
views
Web Audio API XMLHTTP Request No Access Allowed
function init() {
// Fix up prefixing
window.AudioContext = window.AudioContext || window.webkitAudioContext;
context = new AudioContext();
// BufferLoader takes: (context, url, callback)
...
1
vote
0
answers
2k
views
ajax request 'Access Control Allow Origin'
I am facing a issue of cross origins. I have googled and found some solutions but they are not working in this case. I wonder why.
I am hosting my application in apache tomcat server. And On the ...
0
votes
2
answers
4k
views
Fixing Cross-Domain Requests in IE8
I'm trying to modify some existing code that is breaking in IE8. From what I've read online, this is a common problem involving XDomainRequest and XMLHttpRequest.
I've not worked with AJAX in this ...
0
votes
1
answer
301
views
How to receive JSON data from this website?
please help me to receive josn data from this site, need to make imei check don't know how to get their response. Tried php porxy page, but unsuccessfull
they use this script, but origin don't let ...
1
vote
2
answers
235
views
What if Cross Domain Ajax request meets the content of target div is generated a few seconds later than document loaded
I need to retrieve the content of a generated div on an external website page.
I have been searching for quite a while and haven't got any luck.
I have been able to retrieve all static content from ...