0
votes

I am now using a Beacon Reveiver to get the iBeacon Information. Here is the problem:

the receiver platform server only allow me to type a url. How should I do to send the information to azure eventhub?? I found this API:

https://NAMESPACE.servicebus.windows.net/EVENTHUB-NAME/publishers/PUBLISHER-NAME/messages

I tried it ,but it seems doesn't work. Do i miss anything?? or Can anyone teach me how to add the authentication in url? What should I do now?

Thanks

1

1 Answers

2
votes

You must set an authentication HTTP header in order to send events to Event Hubs. You can't include authentication information in the request URL.

Even though you can't send messages directly to Event Hubs, you can develop a custom Web API that uses your own URL-based authentication mechanism and forwards the requests to Event Hubs (or another service). That defeats the purpose of using Event Hubs to some degree but gives you more flexibility.