func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) {
	url := createURL(client)
	var b io.Reader
	if opts != nil {
		tmpB, query, err := opts.ToWorkflowCreateParams()
		if err != nil {
			r.Err = err
			return
		}
		url += query
		b = tmpB
	}

	_, r.Err = client.Post(url, nil, &r.Body, &gophercloud.RequestOpts{
		RawBody: b,
		MoreHeaders: map[string]string{
			"Content-Type": "text/plain",
			"Accept":       "", // Drop default JSON Accept header
		},
	})

	return
}
// Create requests the creation of a new execution.
Create requests the creation of a new execution.
// Create requests the creation of a new execution .
func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) {
	url := createURL(client)
	var b io.Reader
	if opts != nil {
		tmpB, query, err := opts.ToWorkflowCreateParams()
		if err != nil {
			r.Err = err
			return
		}
		url += query
		b = tmpB
	}
	_, r.Err = client.Post(url, nil, &r.Body, &gophercloud.RequestOpts{
		RawBody: b,
		MoreHeaders: map[string]string{
			"Content-Type": "text/plain",
			"Accept":       "", 
		},
	})
	return
}
func Create ( client * gophercloud . ServiceClient , opts CreateOptsBuilder ) ( r CreateResult ) { url := createURL ( client ) var b io . Reader if opts != nil { tmpB , query , err := opts . ToWorkflowCreateParams ( ) if err != nil { r . Err = err return } url += query b = tmpB } _ , r . Err = client . Post ( url , nil , & r . Body , & gophercloud . RequestOpts { RawBody : b , MoreHeaders : map [ string ] string { " " : " " , " " : " " , } , } ) return }
Create requests the creation of a new execution.
Create requests the creation of a new execution .
// Drop default JSON Accept header