Skip to content

Commit

Permalink
feat: format json in params-import
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfuboy committed Aug 15, 2022
1 parent 39b9c4f commit 25972d9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export class ParamsImportComponent {
return `name: Jack\nage: 12`;
case 'query':
return `/api?name=Jack&age=12`;
case 'json':
return `{ "name": "Jack", "age": 12}`;
default:
return `/api?name=Jack&age=12`;
}
Expand Down

0 comments on commit 25972d9

Please sign in to comment.