Skip to content

Commit

Permalink
fix: port number to default
Browse files Browse the repository at this point in the history
  • Loading branch information
wrussell1999 authored Feb 11, 2025
1 parent 76da9ba commit eb8a1b4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions content/docs/15.how-to-guides/js-webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ function App() {
await axios.post('http://localhost:8080/api/v1/executions/webhook/company.team/webhook_example/abcdefg',
formData).then(response => {
console.log(response.data)
});
} catch (error) {
console.error('Error:', error);
Expand Down Expand Up @@ -145,10 +144,9 @@ function App() {
const handleSubmit = async (e) => {
e.preventDefault();
try {
await axios.post('http://localhost:8084/api/v1/executions/webhook/company.team/webhook_example/abcdefg',
await axios.post('http://localhost:8080/api/v1/executions/webhook/company.team/webhook_example/abcdefg',
formData).then(response => {
console.log(response.data)
});
} catch (error) {
console.error('Error:', error);
Expand Down Expand Up @@ -203,10 +201,9 @@ function App() {
const handleSubmit = async (e) => {
e.preventDefault();
try {
await axios.post('http://localhost:8084/api/v1/executions/webhook/company.team/webhook_example/abcdefg',
await axios.post('http://localhost:8080/api/v1/executions/webhook/company.team/webhook_example/abcdefg',
formData).then(response => {
setResponseData(response.data)
});
} catch (error) {
console.error('Error:', error);
Expand Down

0 comments on commit eb8a1b4

Please sign in to comment.