Python
import requests url = "https://{FUSION HOST}/api/spark/configurations/app/{appId}" headers = {"Authorization": "Basic <encoded-value>"} response = requests.post(url, headers=headers) print(response.text)
Create a new Spark job configuration for a Fusion app.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The name of the Fusion app to which this job belongs.
OK
Was this page helpful?