https://github.com/abrie/parentsquare-names
https://github.com/abrie/parentsquare-names
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/abrie/parentsquare-names
- Owner: abrie
- Created: 2024-12-15T02:35:41.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-15T03:03:18.000Z (6 months ago)
- Last Synced: 2025-02-09T13:44:41.354Z (4 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# parentsquare-names
## Node Application
This repository contains a Node application that reads a JSON file from the CLI, makes a POST request to `https://www.parentsquare.com/sessions` with the specified cookie and body, and logs the response status code and body.
### How to Run the Application
1. Ensure you have Node.js installed on your machine.
2. Clone this repository.
3. Create a JSON file with the following format and save it as `data.json`:
```json
{
"cookie": "string_here",
"body": "string_here"
}
```
4. Run the application using the following command:
```sh
node app.js data.json
```### Expected Input Format
The JSON file should have the following format:
```json
{
"cookie": "string_here",
"body": "string_here"
}
```