Questions tagged [paw-app]

RapidAPI (formerly Paw) is a REST client for OS X. It supports dynamic variables, multiple environments, and code generation in several languages (including Swift and Objective-C).

RapidAPI (formerly Paw) is a REST client for OS X. It supports dynamic variables, multiple environments, and code generation in several languages (including Swift and Objective-C).

287 questions
4
votes
1 answer

Dynamic param value calculation depending on params in Paw

I have some API that must be signed with request params hash. For example I have 2 params - login and password in request params. So I need to add the param checksum that is calculated with login and password fields hash. How can I implement it? Now…
silent
  • 3,843
  • 23
  • 29
3
votes
0 answers

How do I nest requests so they share the same auth config in Paw?

Just trying out Paw for the first time … I think this is a basic question but trying to understand how to use the various concepts: Documents Groups Requests Environments Sessions For this example, let's say I am wanting to work with the Sonos…
Mike
  • 9,692
  • 6
  • 44
  • 61
3
votes
0 answers

Can I set the same header for a group rather then setting an environmental variable for each individual request within a group

I am using the same Authorization Header for all of my API requests. Instead of having to set an Environment Variable and individually adding it to each Request, I'd like to set it at the group level so it applies to all Requests within the…
J. M. Habibi
  • 121
  • 4
  • 14
3
votes
0 answers

Dynamic value from shell script output in Paw

Is there a way to create a dynamic value that executes a shell script and takes the stdout from it? I'm working with a header that changes every couple of minutes, and for the moment I have to manually execute the script, copy the output and insert…
3
votes
1 answer

How do I unpack a project.tar from *Paw for Teams*?

Paw for Teams dashboard lets me download a .tar file of a team project: Your project data is safely stored on the Amazon S3 storage service. In case you need a data dump for backup purposes you can download a tar file here (data is contained inside…
bradobro
  • 141
  • 1
  • 4
3
votes
0 answers

Importing a RAML file with custom types into Paw does not set JSON bodies correctly

I have a RAML 1.0 type definition: types: uuid: string url: string html: string Credentials: description: Authentication credentials for a user type: object properties: userName: string password: string With an…
blork
  • 2,150
  • 6
  • 26
  • 45
3
votes
0 answers

How do I stop Paw from converting my text input into dynamic values?

I paste something with :blah and :blah is converted to a dynamic value blah. How do I stop this?
bgoosman
  • 707
  • 4
  • 13
3
votes
0 answers

Json content type on multipart

On a same HTTP request, I upload files and a JSON body. I do this by using a form/multipart. It its very convenient for files, but it is ugly for the JSON. Here is a screenshot of my request panel. Is there an easier way to add a Text JSON content…
maxime
  • 1,993
  • 3
  • 28
  • 57
3
votes
1 answer

Can multiple requests update a single environment variable in Paw?

I have a variable named primary_address_id which can be set or updated via several API requests. For example, I may call AddAddress and specify that the new address should be the primary, or I can call MakePrimaryAddress to set an existing address…
Matt
  • 56
  • 3
3
votes
1 answer

How to read environment variables from .env file rather than store in paw config

Is there a way to have a Paw environment import configuration from a local file such as .env rather than save them in the Paw configuration itself? I'd like to check my Paw config into version control but do not want to leak auth tokens.
Buck
  • 173
  • 1
  • 7
3
votes
4 answers

How to reuse variables from previous request in the Paw rest client?

I need to reuse value which is generated for my previous request. For example, at first request, I make a POST to the URL /api/products/{UUID} and get HTTP response with code 201 (Created) with an empty body. And at second request I want to get that…
igrybkov
  • 43
  • 4
3
votes
1 answer

Create a dynamic URL parameter that includes every other URL parameter

I'm trying to create a signature for the JW Platform API. It requires a URL parameter named "api_signature" that a SHA1 digest of every other URL parameter. I tried creating the parameter with the SHA1 digest dynamic with a JS Script as its input.…
donut
  • 9,427
  • 5
  • 36
  • 53
3
votes
1 answer

Exporting to Swagger from Paw?

Does anyone know if there exists a code generator for Paw which will export to Swagger definitions? I couldn't find one in the list of generators and was wondering how such a popular format could be left out. Thanks for your time.
Nirmal
  • 9,391
  • 11
  • 57
  • 81
3
votes
1 answer

Paw - Get last request made using specific environment

I am trying to use a dynamic field from parsed response. The parsed response must be for the last request made using a specific environment. Is this possible? Here's the scenario: 1. Make Request 1 using Environment A Receive Response A1 2. Make…
Omar Darwish
  • 1,536
  • 2
  • 15
  • 23
3
votes
0 answers

How to prevent URL parameters escaping in Paw 3

Paw 3 automatically escapes URL parameters, so type=x+y becomes type=x%2By. This causes server to mis-interpret parameter and returns wrong values. Is it possible to prevent this URL escape taking place?
Tom
  • 1,522
  • 9
  • 10