How to use PostMan to call an API

shaunenslin
Expensify Customer Posts: 6 Expensify Newcomer
Hi, can anoyone help with calling an API via Postman
I need to send in the template and user http://url-encode.online-domain-tools.com/ to encode the template.
I am now just not sure how to send in the --data-urlencode with postman.
Do I urlencode the template, but then how do I pass i int as attached image doesnt work/
Answers
-
Hi there,
It looks like you were able to URL-encode the template already, so you'll just need to change the Key column in Postman to say
template
instead of--data-urlencode
. That column specifies the names of the parameters in your HTTP request, and our API expects a parameter calledtemplate
.Cheers.