Questions tagged as 'formdata'

1
answer

Variables $ _POST are not defined after consultation with ajax method

I'm having a problem using "FormData" objects, it happens that when sending the data with the ajax method (from jquery) the variables $ _POST are not defined in the .php file; honestly I do not know where the fault is, because when you pass a js...
asked by 05.10.2018 / 18:53
1
answer

Clean form fields after sent with Vue2 and Axios

I have a form that sends, in Vue.js , by axios without any problem the data, and I wish that after successfully sent, the content of the fields is deleted. I have tried with .reset() but without success, and for some reason I...
asked by 28.03.2018 / 21:05
1
answer

Serve an image from Servlet 3.0 contentType="multipart / form-data"

Greetings community! I pose the following problem, I have an image in a BBDD (format bytea[] ) and I want to serve an answer to show that image in my HTML. I do not have routes or directories, just the image in the database. It looks som...
asked by 19.12.2017 / 17:28
1
answer

Error sending file by AJAX

I am trying to save a file in a database of SQL SERVER 2008 and I am not managing to send the data to the server side or I am not receiving it well not what I know. Here is my code: Front-End @model PCotiza_compras.Models...
asked by 10.11.2017 / 18:53
0
answers

make a Post correctly with HttpModule of angular 5

I always receive the error 500 import { Injectable } from '@angular/core'; import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http'; import { Observable } from 'rxjs/Observable'; import { AuthService } from...
asked by 09.03.2018 / 22:10
1
answer

Angular2 Module Http upload file support FormData

I need to upload a file in angle 2 but without having to convert it to base64 and send it as a string, somebody knows if the angular / http library supports FormData to be able to upload a file, if not, that another alternative I have. Gree...
asked by 26.06.2017 / 21:28