Category "postman"

AWS User is not authorized to access this resource

I'm new to AWS API Gateway and Lambda and I am wondering if anyone could help? I generate an access token using Auth0 and it works on postman returning all of

How to form protobuf resource part of http request body and test it through dhc client or postman for restful services

I have created a .proto message and I'm exposing a rest service which looks like this @Path("/test") public interface test{ @POST @Produces("application/x-pr

If statement in Postman tests

I work in Postman and I want to build the test construction like that: var login_status = pm.environment.get("LOGIN_STATUS"); var jsonData = pm.response.json();

Setting Up Postman for API Testing When Using Passport Authorization

I am a bit confused while trying to get Postman to work when testing the API of my application. Namely, I am using Passport authentication; however, I do not kn

Request working in curl but not in postman

This request working with curl curl 'http://www.express.com/browse/gadgets/store-change-location-more.jsp?changelocation=true&catelogRefId=75116576' -H 'Co

Request working in curl but not in postman

This request working with curl curl 'http://www.express.com/browse/gadgets/store-change-location-more.jsp?changelocation=true&catelogRefId=75116576' -H 'Co

Add header to every request in Postman in pre-request script

I want to automatically add a header to every request in my whole collection using this pre-request script: pm.request.headers.add({ 'key': "myvar", 'v

Add header to every request in Postman in pre-request script

I want to automatically add a header to every request in my whole collection using this pre-request script: pm.request.headers.add({ 'key': "myvar", 'v

Postman - dynamic variable for a value from array

How could I add an automatic environmental variable in Postman based on a value which is appearing in the endpoint response in the array? In the example below,

"token contains an invalid number of segments"

I am seeing this error when I try to hit endpoint using postman: { "errors": [ "token contains an invalid number of segments" ] } Console: Typ

How do I invoke a postman-defined request within a postman pre-request script?

All examples I've seen of calling a REST API within a Pre-Request script use the http API pm.sendRequest(). I'd much rather 'submit' a request that is defined t

How to increase the font size of the request in postman tool?

I am using Postman tool for hitting the REST api with request and response. I want to increase the font size of the request. Under Settings there seem to be jus

FastAPI - Postman error 422 Unprocessable Entity

I am using FastAPI to make get/post/put/del requests, which all work perfectly fine in the browser. I wanted to use Postman to do the exact same thing; however,

403 forbidden error when accessing API with X-API-KEY authentication

I stumbled upon an error when trying to access “EDQM Standard Terms” dictionary via API — this is a dictionary of various pharmaceutical formu

The Authorization header is missing

I am getting this error :{"error":{"code":"AuthenticationFailed","message":"Authentication failed. The 'Authorization' header is missing."}} whenever I am tryin

FastAPI - How to upload file via form

I am making a REST API that requires uploading files. For testing purposes, I am uploading files through postman, but I don't know how to access the files on se

Symfony post request body parameters?

I'm sending POST request by postman with header application/json and the body: { "name": "user" } And when I try to get this parameter from the request obj

Postman returns null when using POST (Spring Boot)

** Update Updated the input in Postman: { "firstName": "Thierry", "lastName": "Blossom", "dateOfBirth": "1981-01-20", "email": "thierry@gmai