Skip to content

Problems while trying to implement custom transport #9007

Closed Answered by saleh-zamzam
saleh-zamzam asked this question in Q&A
Discussion options

You must be logged in to vote

I found the issue, it was in the data sent in the axios request:

The right way:

axios.post(`${req.url}`, req.body)

The wrong way:

axios.post(`${req.url}`, {
    body: req.body,
})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by saleh-zamzam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant