Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Generate random phone numbers in POSTMAN

pm.sendRequest("https://randomuser.me/api/?nat=us&inc=phone", (err, res) => {
    pm.environment.set('phoneNumber', res.json().results[0].phone)
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Generate #random #phone #numbers #POSTMAN
ADD COMMENT
Topic
Name
2+1 =