http requests to my vps -- 2

Končano Objavljeno pred 1 letom Plačilo ob prevzemu
Končano Plačilo ob prevzemu

Hello everyone

I have a vps containing some python scripts .

The vps has flask, so I can run my scripts using http requests.

the thing is, my http request look like this :

####### python code ##########

import requests

import re

url='http://4x.1xx.1xx.2xx/run_cmd'

data={'command':"gn52789"}

r=[login to view URL](url=url,json=data)

print([login to view URL])

####### python code ##########

now what i want, is to make the http request in 1 line, so I can run it from browser.

Python Linux Arhitektura porgramske opreme PHP Ubuntu

ID projekta: #35132020

Več o projektu

10 predlogov Oddaljen projekt Aktiven pred 1 letom

Dodeljeno:

(62 mnenj)
5.4

10 freelancerjev ponuja v povprečju za $26 na tem delu

purplemaestro

Hi. I Hope you are doing well. I have high level expertise in Python. I can convert this script into flask code so that it can be run from browser. Will provide you top quality work for sure. I can start right now.

$30 USD v 1 dnevu
(129 ocen)
6.5
Hostingshades

Hello, I can help you to create/configure HTTP request for your VPS server and setup it. Please initiate a chat session so we can discuss more about it. Thank You.

$59.99 USD v 1 dnevu
(173 ocen)
6.1
aencode

Hi there, Python expert here, I can start your task right now amd provide you solution to work in your VPS. Lets Discuss. Thanks.

$25 USD v 1 dnevu
(76 ocen)
5.7
gattes

Hi there, I have over 10 years work experience with linux and python and I think I can definitely help you with this. Would require a bit more info on what a 1 liner has to do with the browser request but I believe I c Več

$30 USD v 1 dnevu
(43 ocen)
5.4
omsolutions4

I can convert your vps scripts to access browser link from get instead of json. You'd be able to trigger the commands from the browser directly

$15 USD v 1 dnevu
(21 ocen)
4.8
dylanjan313

Hello, I can give you a 1-line Javascript code doing the same HTTP POST request, you can run it from the browser's console. Regards, Dylan

$15 USD v 1 dnevu
(4 ocen)
2.8
MohmedAbdelwahab

Hi there, I can fix your code, and add necessary to run you code in one line, as I'm python developer with more than 3 years of experience. Waiting you to discuss more details.

$20 USD v 1 dnevu
(3 ocen)
1.5