Answer the question
In order to leave comments, you need to log in
How to configure routing to accept a long value?
There is a routing:
match 'new_user/registration_id/:registration_id/domain_name/:domain/platform/:platform' => 'notification#do_subscribe', :via => [:get], :constraints => { :domain => /[0-z\.]+/, :registration_id => /.*/ }
var xmlHttp = new XMLHttpRequest();
xmlHttp.open('GET', 'https://www.url.com/do_subscribe/notification_api/registration_id/' + subscriptionId + '/domain_name/' +
domainName + '/platform/' + platform, false);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question