ich einen http Post innerhalb .then()
tun wollen. Ich habe es schon in vielen diferent Weise ... nichts funktioniert Ich versuche, einen Benutzer zu erstellen und einen http POST
nach der Schöpfung zu tun.http Post innerhalb .then()
'use strict';
module.exports = function(app) {
return function(req, res, next) {
const body = req.body;
// Get the user service and `create` a new user
app.service('users').create({
email: body.email,
password: body.password
}).then('I WANT HTTP POST WITH PARAMS HERE')
// On errors, just call our error middleware
.catch(next);
};
};
Ich möchte in der POST