Open izzaldeen98 opened 7 months ago
Hi Guys ,
I'm trying to add a function using the following python code :
import requests import json header = { "Content-Type": "application/json", "app":json.dumps({"name":"testfunc"}) } response = requests.post("http://localhost:8888/v1/apps" , headers=header)
but I get the following error : {"error":{"message":"Invalid JSON"}}
{"error":{"message":"Invalid JSON"}}
Knowing that my function is pre dockerzied image , named testfunc
testfunc
please assist on this .
Hi Guys ,
I'm trying to add a function using the following python code :
but I get the following error :
{"error":{"message":"Invalid JSON"}}
Knowing that my function is pre dockerzied image , named
testfunc
please assist on this .