Reputation: 85
I have an API Which Takes x-www-form-urlencoded
Values in Parameters. Its Working Fine in Postman but I don't Know How to Set It in WSO2.
Here is My API in Postman. In Body Section I Send Data with Content/Type: x-www-form-urlencoded
.This Encodes the values of keys. but I did not see such thing in WSO2.
Upvotes: 1
Views: 869
Reputation: 1224
If the deployed API is based on OAS 3.x, you can edit the API Definition by following the steps given below:
https://<host>:<port>/publisher
)API Definitions
section /getorder:
post:
requestBody:
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
orderid:
type: string
passengerid:
type: string
ordercode:
type: string
Upvotes: 1