Most voted "postman" questions
Use this tag when the question refers to a resource, information, or problem related to the Postman Client API.
Learn more…52 questions
Sort by count of
-
2
votes0
answers91
viewsReturn test in an API
I’m testing a way to get data from a database with a simple API, I don’t know if it’s right, if you can give me a hand I wanted it to work via POST, but the tests on POSTMAN only returns if I put…
-
2
votes1
answer255
viewsEFD-Reinf via Postman -> Returns MS0028 error ("The loteEvents parameter was not reported in the service call")
I am using the Postman to understand exactly what needs to be sent in http request. Authentication: In the program Postman I finished the menu Files -> Settings, flap Certificates and informed…
-
2
votes2
answers1704
viewsHow to send request in Timestamp: yyyyMMddHHmmssffff format using Postman?
I need to use Postman to send a request to the API and in the header I need to send the date in format yyyyMMddHHmmssffff. I tried to use Moment.js this way, but it doesn’t seem to work: const…
-
2
votes1
answer619
viewsSend 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…
-
2
votes1
answer23
viewsPUT problems with Spring data JPA
I’m using Controller architecture, DTO, Repositoy, Service Use Postman to test the requests, I can do POST on User normally and when I do GET Postman returns me { "id": 3, "nome": "Arthur", "cpf":…
-
1
votes1
answer1463
viewsHow to authenticate an Oauth 2 connection to Postman?
My API uses in the backend Rails 5 to Gem devise_token_auth (omniauth) for authentication. The frontend is using ng-token-auth (Angular 1.x). I have all API requests on Postman. I did the security…
-
1
votes1
answer908
viewsHow do I test POST requests in "Postman" in places that need to use session authentication?
Postman is the built-in Google Chrome browser app I use to test my POST requests. https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop But the area I want to access is…
-
1
votes2
answers2120
viewsAPI works in POSTMAN, but not in code
I am trying to access an API, by Postman, it works and returns json normally, already by code (using Vuejs + Axios) does not return, from CROSS error, how can this? where Axios returns normally? let…
-
1
votes1
answer777
viewsConnect Firebase to Postman
There is possibility to connect to firebase the Postman tool ? I need some program to make the connection and then perform "POST" inside the firebase. I need to register several products there that…
-
1
votes1
answer490
viewsSending a file 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 Postman, an error 500 is returned with…
-
1
votes1
answer45
viewsWebservice PHP does not work!
I’m developing a system that will use a webservice in PHP and the structure that will be called to run this webservice is the following: <?php header("Content-Type: application/json;…
-
1
votes1
answer447
viewsWhen I make a request on my Rest API with Spring boot, it is coming with an extra item
I have debugged and the result is coming out a correct list, but when I request in Postman, comes an extra item. Looks like a counter. Can someone tell me what this is and how to take? This is my…
-
1
votes1
answer320
viewsPost by Postman is giving error of Object Reference not set to an instance of an Object
I understand that the Frombody is coming null and I don’t know why. That’s my Postman payload { "ChannelCode" : "TS", "Name" : "Teste", "Celphone" : "(11)999999999", "Endpoint" : "www.teste.com.br",…
-
1
votes1
answer33
viewsDo you run a negative test?
In my case I am using Postman to do the Integration tests, something very simple so far. However my doubt is, if just as in Unity test (In case I have already done several with Mstest c#) whether it…
-
1
votes0
answers1344
viewsHow can Postman send requests without Cors problems?
I currently use Angular 2+ in some applications and am experiencing difficulties in solving Cors problems. When the request is made by Postman, everything happens as expected, but when I try through…
-
1
votes0
answers596
viewsPassing simple array with Axios
Goodnight. I’m trying to replicate an API call that I make in Postman in Windows of my Vue.js application. In Postman I pass a token and in my JSON call body I pass the following simple array to…
-
1
votes1
answer261
viewsHow to write an Enum to the database with JPA and Postman
I am creating a product register, and when I pass through Postman the JSON of my product to be recorded, its type is being saved as NULL. The product types are an Enum, I will put down the code I…
-
1
votes1
answer820
viewsI am unable to send a parameter to a GET method of an API using the PHP Curl
Hello, I am trying to use Curl to consume an API where there is a method that receives a string as parameter. This method in the API is configured as GET, so it will receive this parameter validate…
-
1
votes1
answer100
viewsI understand that the post method is getting it wrong at Postman
My controller package br.com.clinicamedica.controller.especialidade; import static org.springframework.http.HttpStatus.CONFLICT; import static org.springframework.http.HttpStatus.OK; import static…
-
1
votes1
answer87
viewsMore than one array value for Where Eloquent
I’m developing a route for my api, where it is intended to return a list of cities based on the fields and values of my array. Thus: public function arrayCidades(Request $request) { $ay =…
-
1
votes1
answer125
viewsHow do I, in Postman, validate that in a "data" array all elements contain a specific value in the "name" field?
Recebo como resposta de uma requisição, o seguinte response: "data": [ { "id": 148, "name": "Amrita Naik", "email": "[email protected]", "gender": "Female", "status": "Inactive",…
-
1
votes1
answer98
viewsRestful Pagseguro API returning "message": "Unauthorized"?
I am trying to implement payment by card using Pagseguro’s Rest API. I have followed every step of this documentation but the return is always "message": "Unauthorized". I’m testing directly at…
postmanasked 3 years, 9 months ago FernandoPaiva 1,562 -
0
votes1
answer48
views -
0
votes0
answers1832
viewsUpload photo and json in the same request - Postman
I’m having trouble sending in the same request a photo and a json by Postman. I need to send the profile photo of the user and at the same time receive a json with the data from it. //Instância da…
-
0
votes1
answer108
viewsProblem performing API requests
I’m trying to place requests to an API: EGOI but get an error. The request is as follows:: http://api.e-goi.com/v2/rest.php?method=checklogin&apikey=minhaAPIKEY You know how I pass parameters to…
-
0
votes0
answers54
viewsPHP does not receive POST requests
I have the following code in my index.php: <?php header('Content-type: application/json'); var_dump($_SERVER); And I’ll file a POST request for him. I just don’t understand why…
-
0
votes1
answer245
viewsCompare Response with variable
I made an environment variable that takes the ID of a registered Account, and when I go in my Find ID method I’m validating to see if I brought what I’m waiting for by passing code:8631 as Request.…
-
0
votes2
answers1270
viewsPOST method receiving object vázio. C#
I have a controller with a POST method that always receives the null parameter. I’m sending JSON through Portman. I have tried to put the class as parameter, I have tried for string as parameter and…
-
0
votes1
answer24
viewsHow to make changes on a usurious registered with the PUT method?
Hello I am learning Java, now in the back end I have set up a user registration API Email,Name,Age,Phone. I used the POST method to insert the new user in the array and GET to show the users, so far…
-
0
votes0
answers284
viewsSend a JSON + Multipartfile to an endpoint. Spring Boot
Hey, guys, all right? I’m doing a project and I got stuck in a certain part. Summarizing what needs to be done: I need to create an endpoint that receives a JSON from a Person object (Name, Password…
-
0
votes0
answers84
viewsError inserting documents into Mongodb
I made these Inserts by the shell of the Mongo: db.Operators.insert([{ Name:'Paulo de Tarso', Version:1 }, { Name:'José de Arimatéia', Version:1 }, { Name:'Catarina Silva', Version:3 }]) This is my…
-
0
votes1
answer24
viewsPostman - How do I send Environment along with my Collection?
I have a Team Workplace, and in it a Colection, this on the web. In my Postman application on the pc I created an Environment to pass some variables, for example, the url that is accessed (so we can…
postmanasked 6 years, 1 month ago Luiz Palte 25 -
0
votes1
answer101
viewsFormat object with object array in properties - variable scope problem
Good morning, I have a problem returning from a webservice, I do a query to get Categories, and then another to get the items from that category. The goal is to assemble a return in the pattern: {…
-
0
votes2
answers62
viewsRequest API not working on ASP.NET Core 2.1
I’m having trouble testing my end-points with the post and Asp.net core 2.1. Controller Base public class ControladorBase : Controller { protected IMapper _Mapper; public ControladorBase() { }…
-
0
votes1
answer52
viewsJson-server is not saving all data when performing POST
I got the following database high: { "clientes": [ { "id": 1, "nome": "xxx", "cidade": "Orlândia" }, { "id": 2, "nome": "yyy", "cidade": "Franca" }, { "id": 3, "nome": "zzz", "cidade": "Franca" } ]…
postmanasked 5 years, 9 months ago veroneseComS 2,752 -
0
votes0
answers76
viewsAccess from a dictionary in flask via POST
How could I access a dictionary element using POST in flask? I have lists to simulate a comic and through the POST, I would like to try to access them. Function code:…
-
0
votes2
answers163
viewsHow to make an ASP.NET Core Post API without using MVC?
I don’t work with ASP.NET Core Apis until I need it for a project written in C#. So I created with a standard project, with the following controller: [Route("api/[controller]")] [ApiController]…
-
0
votes0
answers88
viewsGetglobalvariable array of result
Good evening, I’m trying to make a variable to use in another request and I’m testing. I made an array with the code attribute coming from my payload, it contains 4 codes from 1 to 4 so my array is…
-
0
votes2
answers87
viewsHosting and favicon error 404
I have an API developed with Slim 3. The API worked perfectly, testing with Postman or by browser, everything worked perfectly. I had to change the hosting. So I went up the API to new host and…
-
0
votes1
answer309
viewsAdd images to mongodb via api using Postman
Good morning, I’m building an api on nodejs to access mongodb. I want to add images in this database and return the path of this image to my android application. I want to store the images directly…
-
0
votes1
answer141
viewsWEB API POST returns NULL
I am starting my studies with REST API and following an Internet tutorial I developed this API : Class : namespace SimpleRESTServer.Models { public class Person { public long ID { get; set; } public…
-
0
votes0
answers52
viewsI’m trying to make a POST request, but Postman is returning an error. Help me!
Controller: package Controlador; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.PostMapping;…
-
0
votes1
answer65
viewsSlim - Trying to get Property 'password' of non-object in
Good night. I’m doing a job for college that involves logging in.. I’m using the post to pull the requisitions and is giving me the following error: <br /> <b>Notice</b>: Trying to…
-
0
votes2
answers92
viewsProblems when passing an object in an Httppost request
I’m creating a Dotnet API, and when I tried to test a Post request with Postman the only data coming to my controller’s method is Name and CPF. Below is an image with the request I’m making in…
-
0
votes2
answers20
viewsHow to recover object by URI by passing parameter and showing Request Status
I’m learning to work with Spring REST, I can already recover object by URL in Postman, but in my URL if I pass a parameter e.g.: http://localhost:8080/categories/50 It shows as status 200 OK if you…
-
0
votes0
answers20
viewsHow to find the Status Code of a feign. Response when there is no server response
If you use Postman to request a server, I always get Status Code. We will use this website as example for server. Where I put Status Code 599 as seen: Now using the Postman: How can I get this code…
-
-1
votes1
answer61
viewsStarted’s Springboot Project but I can’t get Postman’s Apis
The start project but when I call in Postman nothing comes back, nor the error. It’s as if the project had not gone up! In pom.xml are the dependencies: jpa, mysql and web. I have not touched them.…
-
-1
votes1
answer39
viewsId and Product getting null when saving data Many To One
Whenever I try to create an itemPedido list and use it in a request mapper, it ends up as id and null product. Already trackei with the Debugger and it does not catch the reference with the…
-
-1
votes1
answer37
viewsRequest get method
I would like to make a request get on this api https://api-v2.blaze.com/roulette_games/recent(External api, I don’t have access to it to enable Cors), however, when I do it returns me an error…
-
-1
votes1
answer71
viewsUsing CPF generator in Postman
I am performing several registration tests via Postman and I would like to know if there is any way to automatically generate a CPF in the POST body that I am sending. Who knows via Faker?…