mardi 30 octobre 2018

How to make a POST route in Emberjs

i have an ember application and backend api backend api needs to send data of the ember application using redirect and data should be sent over POST method.

this works with GET method with query params but how to acheive this with POST

if i explain futhermore,

let say there is url called www.webapp.com/user which user is defined in ember route as

 this.route('user');

if the backend redirect to https://ift.tt/2P0p10x i can capture it via user route of emberapp

but i neeed to send those params as POST params. when a POST redirect is made by server it cannot get captured from Ember routes.




Aucun commentaire:

Enregistrer un commentaire