Category "postman"

countDocuments() is not working in api call

I am trying to get a count of products using api calls but in postman its keep loading router.get(`/get/count`, async (req, res) => { const productCount =

Unsupported Media Type on postman with form-data

I am facing an issue when trying to post form-data on postman. It works when I use Raw JSON but not with form-data.I've created a web api using .net core and I

(closed) Postman can't be opened properly

I'm trying to open my newly installed Postman when an error occurs which says something like this: **Could not open Postman** Error: Migration: IndexedDB schema

TypeError: Cannot read properties of undefined (reading 'email')

I'm trying to authenticate user. Sign-up is working fine but in sign-in req.body.email is undefined and I can't figure out why. Here is my code for sign-in: rou

Every second API request takes a long time when I send request through browser. With postman request take the fixed amount of time

I use laravel (7 or 8 version no difference), php 7.4 (opcache enabled). axios/fetch(empty request) no difference. browser edge/chrome no difference. What's in

Laravel Sanctum unauthenticated using postman

I follow the Laravel official document step by step. When I send a request to {{host}}/api/login, I can receive the response that includes token. EVerything is

POSTMAN not sending anything in the body in POST requests

I am trying to test the /login API via POSTMAN (via FE it works fine) but it doesn't show anything in the body part even though I am sending body data. but whe

Uploading files Kotlin Spring Boot

So, I am trying to make and upload file(s) functionality, from some blog posts and stackoverflow questions I got this solution: @PostMapping("/file/upload") fun

Uploading files Kotlin Spring Boot

So, I am trying to make and upload file(s) functionality, from some blog posts and stackoverflow questions I got this solution: @PostMapping("/file/upload") fun

Running my postman collections in Azure devOps build pipelines but fails with "401" and a "404" status code

I have exported my postman collections plus environment and global variables and pushed to them to Azure repos, then trying to run API test through a build pipe

Bulk POST/PUT API requests using POSTMAN or any other means

I have a list of API requests which are already in URL format. I just need to POST them one after the other automatically and log their results. The only way I

Getting 400 bad request in Axios but in Postman status 200

I'm trying to request a Power BI API using axios. var configReportInfos = { method: 'get', url: `https://api.powerbi.com/v1.0/myorg/groups/${process.env

Postman test case insetitive

I have a test case in the Postman which looks like: pm.test("Last Name contains Bob", () => { const responseJson = pm.response.json(); pm.response.to

Access res.locals in Multer.diskStorage->filename

I'm working on a login, where the use consists of userImage, userName, userStatus (all send as form-data). To upload the userImage im using Multer. This is how

postman Pre-request Scropt Unexpected token u in JSON at position 0

I have a post man collection that every route has a Pre-request Script like this const loginUrl = pm.environment.get("reportingUrl") + "auth/login"; console.log

can't get response status code with JavaScript fetch [duplicate]

I'm trying to create a login form. when I'm testing the service with Postman, I will get a body object with status code and etc. But, with

How to create an issue on Github using Postman with Github's API?

I was trying to create an issue on GitHub using GitHub's API with Postman. It does not work even after I provide the personal token generated on my site. Does s

Invalid character in header content ["Host"] Postman

When i try to test api with localhost:[port] it gives the invalid character in header ["Host"] console error. I am using dotnet core webApi. I cross checked the

Can I use postman collection variable inside newman?

Using variables from scope: collection inside Postman works fine. But when I export collection and use it inside Newman it does not work as I expected. 1) Var

how to create a new user with postman and assign group in keycloak?

I have this JSON to create a new user, which works for me, but it doesn't assign the group declared in the groups "groups":["APIs"] tab to the user json: {