Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9256225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:53:28+00:00 2026-06-18T11:53:28+00:00

I am trying to interact with Urbanairship via their broadcast API to send notifications

  • 0

I am trying to interact with Urbanairship via their broadcast API to send notifications to android devices on an INSERT into a Azure table.

My JavaScript INSERT code on Azure is as follows:

    function insert(item, user, request) {

        request.execute({
            success: function() {
                request.respond(statusCodes.OK, item.id);
                push();
            }
        });
    }

    function push() {
   var client = new XMLHttpRequest();
    var authen = 'UDQ3N...B'
    var url = "https://go.urbanairship.com/api/push/broadcast/";
    var data = '{ "android": { "alert": "Hello from Azure!"} }';

    client.open("POST", url, true);
    client.setRequestHeader('Authorization','Basic ' + authen); 
    client.setRequestHeader('Content-Type', 'application/json');
    client.setRequestHeader('Content-Length', '54');
    client.send(data);
}

However I get no responses from Urbanairship. I am convinced its an issue with Azure because using fiddler the following HTTP Request works:

POST https://go.urbanairship.com/api/push/broadcast/ HTTP/1.1
User-Agent: Fiddler
Authorization: Basic UDQ3N...B
Content-Type: application/json
Host: go.urbanairship.com
Content-Length: 54

{ "android": { "alert": "Hello from Urban Airship!"} }

So in essence, I am trying to repeat this call with JavaScript through Azure but having no luck. Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T11:53:29+00:00Added an answer on June 18, 2026 at 11:53 am

    Found a Windows Azure tutorial: http://msdn.microsoft.com/en-us/library/windowsazure/jj631641.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code for an Android application I'm trying to create into interact
I'm trying to interact with the unofficial Android API: http://code.google.com/p/android-market-api/ . It includes two
I am trying to interact with a javascript api (bare in mind I have
New to node.js I'm trying to interact with processing and processing.js via node.js unsuccessfully.
I am trying to write an app that will interact with Last.fm API and
I am trying to implement PayPal into our website. I used cURL to interact
We're trying to use SOAP requests to interact with a booking API using Visual
I am trying to wrap a bunch of methods that interact with a API
I'm trying to interact with my Arduino Uno from my Android tablet running 4.0.3
I'm trying to assemble a toy application to interact with http servers via CoreFoundation.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.