1 import axios from "axios";
5 this.axiosInstance = axios.create({
6 baseURL: 'http://localhost:8085/engine-rest/',
8 'Access-Control-Allow-Origin': '*',
11 this.submitPdfForm = this.submitPdfForm.bind(this);
14 submitPdfForm(terms) {
15 terms = [{term: "abc"}, {term: "def"}];
16 const submitFormUrl = 'process-definition/key/sentiment-analysis/submit-form';
20 value: JSON.stringify(terms),
26 .post(submitFormUrl, data)
28 const data = response.data;
37 export default CamundaService;