Questions tagged as 'postman'

0
answers

PHP 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 make a POST request for it. I'm just not understanding why $_SERVER['REQUEST_METHOD'] is arriving as GET...
asked by 16.11.2018 / 16:58
1
answer

Postman - How do I send the environment together with my collection?

I have a Team Workplace, and in it a collection, this on the web. In my postman application on the pc I created an environment to pass some variables, such as the url that is accessed (to be able to change if it is the homolog or production serv...
asked by 28.10.2018 / 02:26
2
answers

API request not working in 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() { } public ControladorBa...
asked by 28.09.2018 / 18:00
1
answer

Format object with array of objects in properties - variable scope problem

Good morning, I have a problem with returning a webservice, I make a query to get Categories, and then another to get the items in that category. The goal is to set a return on the pattern: { "categoryId" : 1, <--- resultad...
asked by 10.09.2018 / 03:19
0
answers

Error inserting documents into MongoDB

I made these inserts through the mongo shell: db.Operators.insert([{ Name:'Paulo de Tarso', Version:1 }, { Name:'José de Arimatéia', Version:1 }, { Name:'Catarina Silva', Version:3 }]) This is my entity in the AP...
asked by 05.07.2018 / 19:35
0
answers

Taking JSON property values to console.log

How to "read" the following structure and display the result in%% of Postman var corpojson = JSON.parse(responseBody); console.log('| -- CPF :' + (corpojson.entities.people.idNumber)) console.log('| -- Nome : ' + (corpojson.nome))     
asked by 04.07.2018 / 21:57
0
answers

Problem making API requests

I'm trying to order an API: EGOI but I get an error. The request is as follows: link Do you know how to pass parameters to ZEND? I get the following error: <?xml version="1.0" encoding="UTF-8"?> <Egoi_Api generator="zend...
asked by 01.06.2018 / 11:08
1
answer

Connect Firebase to Postman

Is it possible to connect the Postman tool to the firebase? I need some program that makes the connection and then perform "POST" inside the firebase. I need to register several products there that contain price, description among others. And...
asked by 20.05.2018 / 15:24
1
answer

POST method receiving object empty. W#

I have a controller with a POST method that always receives the null parameter. I'm sending JSON through postman. I have tried the class as a parameter, I have already tried it by string as a parameter and in both cases it is leaving it null;...
asked by 04.02.2018 / 23:34
0
answers

Send photo and json in the same request - Postman

I'm having trouble sending a photo and a json by postman on the same request. Ineedtosendtheprofilepictureoftheuserandatthesametimereceiveajsonwiththedataofthesame.//InstânciadaentidadeLogin$login=newLogin();//recuperandooparâmetroobjetologindo...
asked by 09.10.2017 / 17:39