introduction-to-postman-course's People
Forkers
knut0815 mihmosi maxcodextc codesudo g0dgood emperor444 lemonfugu nehayagnesh akhilchintala gnanendra-ponnala djalfirevic jamalgithub aramidetosin rahulbansal3005 danielkpodo fabian295 chschaitanya swazidr safisec terieyenike erathke sgumnur jayshil-n-b bhubesh757 sauravjalui saquibasghar bidurkandel pradeepjos cybergeekgyan apropos-brandon skambiente tatevikatayan theanupam ekyfasich07 sumitnirma smakhup brown-boi-nash cyrilbeyo jeannebm fork-library heynik ugwls iuliiabarbash sundayayandele saimanvitha02 deepakvaswani1927 ashish-2070 shreya-srinivas24 paul-annay tannudaral jmcsorley devavocado mwambao amb-fr ad3rinto tanujit ptashynska ekaragozoglu yyuxel rana8790 ksvalli tenshiro007 barbour123 dejanperic058 aindrila2412 jesusoctavioas newdevops2020 jameshoughton hflistrak vermarishabh93 hc4343 jarbunn rescenic seshuhub brmonitor omarfateh safaabukharmeh1 arnav1511 jhguo93 irene-24 ariyaadinatha kanegp abhishek-bhardwaj gdevakumar vnambs khatib-abbas ldhillon fcmuchina dudy2292 aya-turki sirzeck andgitisaac 19niki dmusketeer ricardopizarrod madhumaddineni ngthuongdoan larysa33 maescode keitecintroduction-to-postman-course's Issues
Validation
List of books
GET /books
Returns a list of books.
Optional query parameters:
type: fiction or non-fiction
limit: a number between 1 and 20.
If the number is above 20 it is showing an error for 400. But if we put the value below the number 1 ex. 0 or 0.5etc. No error is being shown. In this scenarios the error should be shown for the value below the number 1 right?
Can you help me for this, whether the error should be shown or not, if the value is below the number 1.
Unable to get access token
504 Gateway Time-out
I started learning testing APIs in Postman, using this API. Great material to understand postman. I really appreciate your effort.
Yesterday I could go through almost half of the course. Today, it's been intermittently down or something. The status endpoint is timing out, as well as the other endpoints.
<html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
</body>
</html>
I hope someone can take a look at some point.
Thank you,
Misspelling in the value for the query parameter 'type'
On hitting the /books endpoint, the values for the query parameter 'type' are supposed to be 'fiction' and 'non-fiction', but the error message says 'non-function'. Kindly try to correct this or provide a link to the api repo
Generate a token
Hello. Please I just wanna know how to generate token necessary for authentication. You said that it's essential for POST request.
order api doesnt work
Hello, thank you for your helpful video clip on youtube. I have been following your video clip and I faced issue with orders api. even if I set JSON properly, I got an error like following block.
{
"error": "Invalid or missing bookId."
}
I input Body as below
{
"bookId": 1,
"customerName": "John"
}
POST /orders HTTP/1.1
Authorization: Bearer f213b3e0e68f956690e3f0b712ca559794d6251821bf965f58afd670023d7ddf
User-Agent: PostmanRuntime/7.32.3
Accept: */*
Cache-Control: no-cache
Postman-Token: 97d16743-634e-441b-b336-c62df81cffd6
Host: simple-books-api.glitch.me
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
{
"bookId": 1,
"customerName": "Minnie Kling"
}
HTTP/1.1 400 Bad Request
Date: Thu, 10 Aug 2023 09:27:10 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 38
Connection: keep-alive
x-powered-by: Express
etag: W/"26-nuV6aQ2H3vYGMuVoIahu/HIFYAI"
{"error":"Invalid or missing bookId."}
accidental issue post, resolved by author -- can delete!
Postman course
.
.
.
Field current-stock needs to be update
Get Book Api {{baseUrl}}/books/:bookId response has field "current-stock" which is giving error while using it in post man unit test.
Here is my test case:
const response = pm.response.json();
console.log('books response : ', response);
const currentStock = response.current-stock;
pm.test("Checking if stocks is available ", () => {
pm.expect(currentStock).to.be.above(0);
});
ERROR I am getting is "ReferenceError: stock is not defined"
Kindly update the field while returning response as currentStock instead current-stock
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.