-
Notifications
You must be signed in to change notification settings - Fork 224
Open
Description
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"}}
Knowing that my function is pre dockerzied image , named testfunc
please assist on this .
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels