I am trying to wrote some sample Follow code and Instance response code on the Fediverse, but am not having success after a prolonged period of time.
In short, I am trying to simulate a Follow request from one instance to another. The Follow Request instance is supposed to be firstname.lastname@example.org. This runs some custom Python code I have written. The receiving host is email@example.com, an active instance running Pleroma.
I am having the receiving host, in this case ee880c3b32b8 (dot) ngrok (dot) io (changed because of forum limitations), reach back out to the test server, p.farhan.codes/users/farhan, upon which it reports back that there was a failure.
I suspect the mistake is somewhere in the httpsig or the response, but I have no idea where or what. My follow code is as follows below. Feel free to also reach out to the running host p.farhan.codes.
Please please assist! I am utterly stuck!