Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Push Development

Reply
Developer
Curahee
Posts: 229
Registered: ‎01-12-2013
My Device: z30

Eval Vs. Production URL?

Hello

 

So for testing purposes I push my content to https://pushapi.eval.blackberry.com/mss/PD_pushRequest. I know this one works because I tested it. But what is the CPID number for?

 

Another question is, what is the production url? Is it https://pushapi.blackberry.com/mss/PD_pushRequest or is it something else? Do I need to use the CPID number over here?

 

At first I tought that the production url was just the same as the testing url but with cpid number. But I don't think that's the case.

 

Thanks in advance!

______________________________________________________
BB10-OAuth: GitHub
Developer
Curahee
Posts: 229
Registered: ‎01-12-2013
My Device: z30

Re: Eval Vs. Production URL?

So after figguring out some things I found that the two urls are

 

https://cpXXX.pushapi.eval.blackberry.com/mss/PD_pushRequest

https://cpXXX.pushapi.na.blackberry.com/mss/PD_pushRequest

 

Is it correct that it's over HTTPS? Or am I mistaken?

 

The weird thing is that when I tested push notifications, I did not have to provide the CPID number and I could use

https://pushapi.eval.blackberry.com/mss/PD_pushRequest

 

Why is this working as well? Isn't it necessary to provide the CPID number? 

______________________________________________________
BB10-OAuth: GitHub
Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: Eval Vs. Production URL?

You need to request access to PROD after you have tested using EVAL. The approval email will include your URL for PROD.

 

The URL schemes used below are correct for the server side of Push.

 

The CPID is used to route inbound requests. If you do not specify the CPID your push may still work for now, but could experience disruptions in the future. The CPID is also used for tracing in the event we need to help you troubleshoot any issues with pushes not arriving. Using the CPID is a requirement, so please always specify it from the client and server sides.

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Curahee
Posts: 229
Registered: ‎01-12-2013
My Device: z30

Re: Eval Vs. Production URL?

So I cannot count on it that this is the appropriate URL for production?

 

https://cpXXX.pushapi.na.blackberry.com/mss/PD_pushRequest

______________________________________________________
BB10-OAuth: GitHub
Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: Eval Vs. Production URL?


Curahee wrote:

So I cannot count on it that this is the appropriate URL for production?

 

https://cpXXX.pushapi.na.blackberry.com/mss/PD_pushRequest


That is the correct scheme, but the CP ID (that replaces the XXX) will likely change when moving to PROD.

Garett
@garettBeuk
--
Goodbye everybody!