generate_signed_body: Generate a Signed Body

Description Usage Arguments Value Note Examples

Description

This function generates signed json body when sending information to the API

Usage

1

Arguments

list_data

list; a list of data to be converted to JSON

Value

character

Note

This function is meant to be used internally. Only use when debugging.

Examples

1
2
3
4
5
6
7
8
login_data <- list('phone_id' = "012345678901-99thisisatest99",
                   '_csrftoken' = "012345678901-99thisisatest99",
                   'username' = "testuser",
                   'guid' = "012345678901-99thisisatest99",
                   'device_id' = "012345678901-99thisisatest99",
                   'password' = "testpassword",
                   'login_attempt_count' = 0)
signed_body <- generate_signed_body(login_data)

eric88tchong/Rinstapkg documentation built on June 12, 2019, 1:06 p.m.