Sending the pipeline name as a parameter in POST /train using axios

Hello, is it possible to specify the pipeline we want to use when we send a POST request with the server?

export const postTrainAPI = (data) =>"http://localhost:5000/train", , {
    headers: {
        'Content-Type': 'application/x-yml'
    params: {
        project: data.project,
        model: data.model,
        pipeline: data.pipeline,

with the data object looking like:

    model: //modelname,
    project: //projectname,
    data: //data,
    pipeline: //tensorflow_embedding or spacy_sklearn depending on the user's choice