I am connecting to a 3rd party hotel booking API site.

I have an Angular booking form that is posting data via https to a php page 
on my site that will then send the data via https to the API.

When I get the response back I need to display the confirmation number and 
other user returned data that is also secure to a confirmation page.

The confirmation page will be a new route and a new page /book/confirm. The 
response data is a json object so when the response object comes back 
redirect to a new page and send the secure data with it.

My Question is how do I securely get the data from one page (from the 
booking response) to the confirmation page (show the returned response)?

1) Do I put this in a cookie?
2) Do I flash this across using a service?
3) Do I send it via a http request from one page to the next?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to