Is there a way to export all request code to a Paw app?

I would like to be able to select multiple queries and export the code with the code generator of my choice - a bit of a batch export. It seems like this is not possible in the current version of Paw, so I might need this script in AppleScript or something like that.

I will fix that there is currently no way to generate code for multiple requests at once, and do you think that I am on the right track when developing AppleScript that repeats the GUI sequence to collapse the query tree in the lefthand menu, export the code and confirm the location file?

+6
source share
2 answers

Just wanted to update this as I had the same question.

The answer is "kind of", but not the way you expect. This is through the clipboard.

  • Opening Settings
  • Select the Code Generation tab
  • Choose the type of output, i.e. cURL, Blurprint API, etc., and close the settings
  • In the sidebar, select one or more queries that you would like to export
  • Copy them (Command + C, Edit> Copy, etc.)
  • Paste where you need them.
+6
source

Starting with version 2.3.3, Paw allows you to export multiple requests at the same time: https://luckymarmot.com/en/paw/updates/2.3.3

0
source

Source: https://habr.com/ru/post/980859/


All Articles