POST Api not working? #1603
Answered
by
acelaya
ghost
asked this question in
Help wanted
-
How Shlink is set-up
SummaryCant access the api with javascript (XMLHttpRequest). GET works but POST doesnt. Javascript:
Error:
Docker Logs:
it's probably my stupidity so it's in the questions/support section but it can be a bugg. |
Beta Was this translation helpful? Give feedback.
Answered by
acelaya
Nov 11, 2022
Replies: 1 comment
-
Try with this: -request.send(sendData);
+request.send(JSON.stringify(sendData)); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try with this: