URL encoded form data (old school style) can be submitted using the form
property.
⚠️ Note: when using the
form
property with URL encoded data, you MUST ALSO send headercontent-type: application/x-www-form-urlencoded
1link - name: Authenticate a user
2link request:
3link path: /authenticate
4link method: post
5link headers:
6link - name: content-type
7link value: application/x-www-form-urlencoded
8link payload:
9link form:
10link userName: john.doe
11link password: john.doe.password
12link response:
13link status_code: 200
See also: Example: URL Encoded Form Post