erikras / erikras/react-redux-universal-hot-example

call url from server

Open
#1,265 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Hello , i'm trying to call web service form the server using superAgent module :

`export function download(numeroCompte) {
console.log('download:' + numeroCompte);
return {
types: [LOAD_DOWNLOAD, LOAD_DOWNLOAD_SUCCESS, LOAD_DOWNLOAD_FAIL],
promise: (client) => client.post('/server/download/createPDF?numeroCompte=' + numeroCompte)
};
}`
but it does not work

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.