This is a re-ask of this question because things have seemed to change
I looked through the code and answer and I'm trying to send a request because I'm trying to build my own miner with the first coin being monero. Everything looks correct, but it clearly doesn't work.

this is that json in text form
{
"method": "login",
"params": {
"login": "45ynyPQi18vNFvoDGvoT6W6RyrdeahPurVvpxajc4d116fz4jWsqzFD2HkDFMoVp4Zeqvi17kRZt9Lna8Lt8xeZdShzLnkW",
"pass": "xx",
"rigid": "testing api",
"agent": "user-agent/0.1"
},
"id":1
}
I've tried using wireshark to capture jsons being sent to the pool but I'm not very skilled with wireshark.