Questions tagged as 'http-post'

1
answer

[FromBody] Web parameter Api Asp.net arrives null if Text / xml is

hello I have the following problem with my web api I have an object public class Message { public string Id { get; set; } public List<Resource> Contained { get; set; } public DateTimeOffset? Timestamp { get; set; } pu...
asked by 12.01.2018 / 15:10
1
answer

Consume WCF WebService

I developed a service with C # that consulted a database with certain functions. I went from AngularJS to Angular2 and here my problems came. Inside my WCF I have: [OperationContract] [WebInvoke(UriTemplate = "/GetCaptaciones", Method =...
asked by 27.04.2017 / 04:05
1
answer

Problem with Angular 2 and CROS

Good afternoon comapñeros, I have a problem with Angular2 and certain POST requests when doing them from the application client. Scenario: The API is implemented in SpringBoot . Client application Angular 2 + HttpClient. T...
asked by 23.01.2018 / 16:43
1
answer

How to pass a Select and a Checkbox type input as dependent two-dimensional arrays through $ POST to a table?

I have the following form. <!DOCTYPE html> <html> <head><title>ARREGLO_BID</title></head> <body> <form method="POST" action="pruebados.php"> <select name="form[][txtmateria]">...
asked by 27.12.2017 / 16:16
0
answers

Error cunsumir a WEB API, HTTP POST

I have a problem when consuming an api that I hosted on my IIS server, that is the api, it is a POST method, where it receives two parameters [Route("api/Documentos/session")] [HttpPost] public String session(string username, s...
asked by 30.11.2018 / 20:19
1
answer

Response Entity HttpClient

I request your collaboration due to the fact that I am consuming information from a website and I do not know what the problem is that is generating me, because in some requests I can do String mensaje = EntityUtils.toString(entity); and...
asked by 15.10.2018 / 23:30
0
answers

Request error to the server when clicking on an ASP.Net C # image

I show some images on a page that when I clicked it returns the error:    "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was...
asked by 04.07.2018 / 16:38
1
answer

Send POST data with orange pi

I am trying to send a series of data to my database that I have on a server, and I thought about using an orange pi one, which is the one I have at home, and on the server I have set up a web service on java spring , the idea would be that the d...
asked by 19.06.2018 / 11:18
0
answers

WebService Python http.server

I am developing a small webservice, when I enter localhots: 8000 it shows me this is a test, but rarely the post method is not working for me, because when I want to send variables to it in the url or in a form, these are not reflected or the Ch...
asked by 12.06.2018 / 00:18
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