Questions tagged as 'postman'

1
answer

Send data via post

I have the following method namespace App\Http\Controllers; use Illuminate\Http\Request; use Validator; use App\Pessoa; class PessoaController extends Controller { public function lista( Request $request ){...
asked by 08.04.2018 / 00:43
1
answer

Post by postman is giving Object reference error not set to an instance of an object

I notice that FromBody is coming null and I do not know why. This is my payload on Postman { "ChannelCode" : "TS", "Name" : "Teste", "Celphone" : "(11)999999999", "Endpoint" : "www.teste.com.br", "TokenLogin" : "123456...
asked by 14.06.2018 / 16:15
1
answer

When I make a request in my API Rest with Spring boot, it is coming with one more item

I have already debugged and the result is a correct list, but when I make the request in the Postman, there is one more item. Looks like an accountant. Can someone tell me what this is and how to pull it off? Thisismycontroller.importjavax.s...
asked by 30.11.2017 / 02:34
1
answer

Webservice PHP does not work!

I'm developing a system that will use a webservice in PHP and the structure that will be called to execute this webservice is as follows: <?php header("Content-Type: application/json; charset=utf-8") ; require_once( "Core.class.php"...
asked by 28.10.2017 / 06:10
1
answer

File upload working by form, but not by postman

I made a webservice with Java Jersey to send files, when I try to send files using an HTML form, it works, however, when I try to send from a client or in the postman, a 500 error is returned with nullpointer. UploadResource @Path("/files")...
asked by 05.08.2017 / 04:07
1
answer

How to authenticate an OAuth 2 connection with Postman?

My API uses in the Rails 5 backend gem devise_token_auth ( omniauth ) for authentication. The frontend is using ng-token-auth (Angular 1.x). I have all the API requests in Postman . I did the security implementation and I need to authent...
asked by 30.12.2016 / 12:15
1
answer

How to test POST requests in "Postman" in places where session authentication is required?

Postman is the application built into the Chrome browser I use to test my POST requests. link But the area I want to access is only accessible through login and password. However, since this is not a REST API or anything similar, I have...
asked by 29.05.2017 / 23:49
2
answers

API works on POSTMAN, but not on code

I am trying to access an API, by postman, it works and returns the json normally, since the code (using VueJS + Axios) does not return, from the CROSS error, how can this? and does the axios return normally? let headers = { 'Authorizat...
asked by 05.06.2017 / 15:20
1
answer

Error calling service "auto-complete" [closed]

I'm finalizing a system and now the need to present a user field with autocomplete to the user. Then I had the idea of using autocomplete of the dictionary michaelis . If you access the SITE will see what you have in the f...
asked by 28.08.2017 / 18:13
0
answers

How can postman send requests without having problems with cors?

Currently I use Angular 2+ in some applications and I'm having trouble solving color problems. When the request is made by Postman, everything happens as expected, but when I try through my application, a cors error is thrown on the console info...
asked by 31.10.2018 / 14:09