Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Update Collection Via Link

I am looking at validating an email, and when the email is delivered, I need the link to start a service and pass data via a link of some kind.

Is this possible ?

Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Update Collection Via Link

The link will be delivered via email to the user. So the user clicks the link in the email, and it updates the collection.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Update Collection Via Link

The service itself is working on updating the database by request PUT, but you can pass parameters with GET method to the page, then read them and pass to the database.

Here is a good example of GET parameters: http://stackoverflow.com/questions/90...

For example, to pass parameter 'q' on page home.html the link will takes the form:
prehome.html?q=test/pre

  • to get the value of the parameter 'q', you can use:
    pregetParameterByName ("q");/pre
Bad Addy
Posts: 0
Joined: Fri Dec 13, 2013 9:34 pm

Update Collection Via Link

Where would the main URL point to thou ? And how would that invoke a service, with data passed within the url? I can do this in PHP, but not JS or HTML5 ?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Update Collection Via Link

It's up to your service - there should be the specific URL where do you want to send it, to form links and send e-mails. You can call this service on load event, for example, after processing the data.

Return to “Issues”