RESTED
RESTED copied to clipboard
Export data option does not save right the request with a custom body (HAR/POSTMAN), but duplicate header information
Version: 2.2.0
A post request with a header and custom data is saved as:
{
"log": {
"version": "1.2",
"creator": "RESTED REST Client",
"Comment": "An exported collection from RESTED",
"entries": [
{
"request": {
"method": "POST",
"url": "https://server.edu/app-rest/end-point",
"headers": [
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded"
}
],
"postData": {
"mimeType": "application/x-www-form-urlencoded",
"params": [
{
"name": "CONTENT_TYPE",
"value": "application/x-www-form-urlencoded"
}
],
"text": "CONTENT_TYPE=application/x-www-form-urlencoded"
}
}
}
]
}
}
it should be something like:
{
"log": {
"version": "1.2",
"creator": "RESTED REST Client",
"Comment": "An exported collection from RESTED",
"entries": [
{
"request": {
"method": "POST",
"url": "https://server.edu/app-rest/end-point",
"headers": [
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded"
}
],
"postData": {
< --- DATA BEING POSTING SHOULD BE HERE --->
}
}
}
]
}
}