0

I have tried to come up with a solution and can't even get a base code worked out.

I just want a simple way to take a string, example: "http://192.168.0.1/mobile/code.fcgi?serverId=1"

and send that string to a target IP.

So take the string above and post it to 192.168.0.67.

Thanks, J

1 Answer 1

1
import requests
r = requests.post('192.168.0.67', data={'url': 'http://192.168.0.1/mobile/code.fcgi?serverId=1'})
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.