All Questions
64 questions
0
votes
0
answers
18
views
How to write cooerctly an axios function with passed paraethers?
I'm tryin g to make a POST request axios with a somekind of data inside the method. But the code isn't glooming. I think Im inserting the lines of code into a wrong place, could you correct the place ...
0
votes
1
answer
8k
views
Getting '400 (Bad Request)' error when making a POST request to backend API
'm encountering an issue where I'm getting a '400 (Bad Request)' error when attempting to make a POST request to my backend API. I'm using Axios in my Vue.js application to send the request. Here's my ...
0
votes
0
answers
161
views
Unable to make POST request HTTPS server via axios in NuxtJS
When in NuxtJS, I am trying to make a POST request to a HTTPS server via axios and I have it deployed via Vercel. It is not getting the content from the POST request.
Current Code:
<script>
...
0
votes
2
answers
341
views
the POST request is changed to GET in my docker container
I created site copy via docker-compose.
The problem is when send post request in my Vue component via axios:
axios.post('/ajax/form/product-question/?token=' + this.token, {
NAME: this.Dname,
...
2
votes
0
answers
2k
views
axios post method create 307 Temporary redirected [duplicate]
I have localhost FastApi as a backend. It has only post method that write into db some data. I a new at vue. I have tested post method with python
data = {
"page_id": "v1",
...
0
votes
1
answer
291
views
How can i export axios post method in javascript file to vue
I'm having trouble exporting the data I got from the api in my javascript file and displaying it in my vue file.
I am sending security json to server with post method. I get the output with console ...
1
vote
1
answer
666
views
Django REST API: How to respond to POST request?
I want send POST request with axios(VueJS) and when Django server got a POST request then I want to get back that request message.
I tried make functions when got an POST request in Django server and ...
0
votes
1
answer
425
views
Sending POST request from VueJS to PHP
<?php
header("Access-Control-Allow-Origin: * ");
header("Access-Control-Allow-Methods: GET,POST,HEAD,OPTIONS,POST,PUT ");
header("Access-Control-Allow-Headers: Access-...
4
votes
1
answer
22k
views
How to send form data in POST request in Nuxtjs 3
Am working on a static website but I need to contact form which is suppose to send form data to an email, Am using nuxtjs 3, have tried using useFetch(), am also trying to use axios.
Here is what I ...
0
votes
2
answers
140
views
Having issues understanding flow - HTML form data handling by vue and axios
I am new to Vue and Axios and trying to use it in Salesforce Marketing Cloud - Cloud pages. Basically there are 3 parts,
HTML + vue page : this is a form page, where the user is asked to input the ...
0
votes
1
answer
59
views
Get request working fine. Post request is not working
My POST method looks like this.
let sendingData = [this.deviceData.CustomerName, this.deviceData.machine, this.$route.params.id, this.deviceData.additionaltitle, transactiontype, sendingfeeedback];
...
0
votes
1
answer
993
views
Axios post not works with safari(mac OS) and all ios and mozilla browsers. It works in brave and chrome
Error console screen
I saw this error in safari console in chrome there are no these error
my method
async postRequest() {
try {
const res = await axios.post(baseURL, {
name: this....
1
vote
3
answers
4k
views
how solve 404 error in axios post request in vue?
i want send request to an api but i have 404 erro and i have nothing in network
can you help me?
my code:
loginMethod() {
const config = {
userName: "[email protected]",
password: ...
0
votes
1
answer
3k
views
Why is Axios sending an extra 204 preflight request with my POST request?
Whenever I send a POST request using Vue.js (3.x), an additional request to the same URL is being made with HTTP status code 204 & type of "preflight".
What is this preflight request and ...
0
votes
1
answer
268
views
i need to use a post request on my vue js code but i just have with curl and i dont know how to write it axios
i need to use a post request on my vue js code but i just have with curl and i dont know how to write it axios :
curl -X POST -F "reference_format=bibtex" -F "file=@path/to/file.pdf;...