To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorCookies
You'll need to use a Rack middleware to write cookies, however you can read them anywhere you can read request params, using the cookies
key. For example, this is how you can add an oauth token to a requets:
"""
routes:
GET /: index.html
pages:
index.html:
user:
- GET /me
- {}
- Authorization: 'Bearer {{cookies.token}}'
"""
The same thing works for Rack sessions with the "session" variable.
"""
Hello {{ params.session.name }}
"""
- Scenarios
Last published over 6 years ago by Victor Mours.