You can create new resources or reference existing ones (resource group, gateway, service plan, etc.) Site Name and Gateway must be unique URL hostnames. OutputStream ostream = connection. Click the 'Deploy to Azure' button above. Log.warning("Error encoding toast message to UTF8! Error=" + e.getMessage()) ĬtRequestProperty("Content-Length", String.valueOf(notificationMessage.length)) NotificationMessage = json.getBytes("UTF-8") HttpURLConnection connection = (HttpURLConnection) url.openConnection() ĬtRequestProperty("Content-Type", "application/json charset=utf-8") ĬtRequestProperty("Authorization","WRAP access_token=\"mytoken_taken_from_azure_portal=\"") ĬtRequestProperty("ServiceBusNotification-Tags", tag) īyte notificationMessage = new byte The returned error is: Returned response: 401MissingAudience: The provided token does not I have successfully implemented calling GAE -> Azure Mobile Services -> Azure Notification HUB.īut I want to skip the Mobile Services step and call the notification HUB directly and I can't figure out how to send the authorization token.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |