Questions tagged as 'post'

1
answer

Error using POST AngularJS

My controller is like this app.controller("listaTelefonicaController", function ($scope, $http) Inside of it is my add function ctrl.adicionarContatos = function (contato) { contato.telefone = ctrl.formatCel(contato.telefone);...
asked by 14.06.2018 / 20:38
0
answers

Passing data via HTML post JAVASCRIPT

Hello, I'm doing a college work, an academic control, and when trying to remove a tuple from the database passing the "id" of the tuple via post form, the value arrives either empty or undefined. Here is the code: <tbody> <...
asked by 14.06.2018 / 05:55
0
answers

send array post in AngularJS

Talk to people, blz? I have a question to send two attributes to an api with authentication. I need to do this with angular JS. This is the C # code of the API method: [Route("cadastrarProduto")] [ApplyModelValidation] public IHttpActi...
asked by 21.06.2018 / 03:08
0
answers

Convert POST request made in Curl to python requests

I have the following command in Curl that makes a POST request. curl -i -s -k -X $'POST' \ -H $'Host: router.jorge.com' -H $'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0' -H $'Accept: text/html,appl...
asked by 02.06.2018 / 02:01
0
answers

POST with AngularJS and Laravel

I'm trying to send via POST to my laravel backend, but on the console it points to the error:    POST link 500 (Internal Server Error)! ! Here's my AngularJS code <!DOCTYPE html> <html ng-app="myApp"> <head> &l...
asked by 31.05.2018 / 18:21
0
answers

Ionic 3 + laravel. Problem with http request on server

Edit: Solution 000webhost does not accept ' options ' requests in your free plan. I was able to solve the problem by making the laravel available in local network with the function php artisan serve --host=IP --port=8000 I'm dev...
asked by 29.05.2018 / 05:30
0
answers

Method Post by Url Friends

I'm building a Free Market question and answer management project. I made the project in php based on the MVC architecture. I created a class called "QuestionsController", in which it has 2 methods. A GET method that looks up the questions in...
asked by 27.05.2018 / 15:07
1
answer

How to configure a JSON send with POST?

I need to make an API that captures some machine data (OS name, cpu usage, network usage etc.) and send as JSON. I was able to capture the data and make it appear on the console in the form of JSON, however, I never moved with the SEND of data....
asked by 01.06.2018 / 16:33
0
answers

Post with Facebook image via API

How do I post an image to Facebook via API? I got the 'link' attribute, but it looks like a clickable image and redirects to where the image is hosted. I used the host ' link ' and the 'message', 'access_token', 'link', 'method', and ' picture '...
asked by 29.05.2018 / 19:57
1
answer

data is not stored in the database

Good morning, I did a text editor with php js and a little jquery for the slide effect of the link. But it is not storing in the database and does not accuse me of any error can someone tell me how to solve it? thanks in advance <?php req...
asked by 23.05.2018 / 01:04